CVE-2020-4068 Heap-based Buffer Overflow in APNSwift
A heap-based buffer overflow in the APNSwift library allows attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-4068?
CVE-2020-4068 is a medium-severity memory corruption vulnerability in kylebrowning APNSwift, published on 22 Jun 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is likely to result in a heap buffer overflow. This has been fixed in 1.0.1.
Weakness: CWE-122
Which versions are affected by CVE-2020-4068?
It affects 1 product.
Products include Apnswift Project Apnswift.
How do I fix CVE-2020-4068?
No fix has been published for CVE-2020-4068 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-4068 being exploited?
There is no known exploitation of CVE-2020-4068 in the wild and no public exploit code.
Sources
Also known as GHSA-qh2w-vjxg-mjcg.