CVE-2019-16139 Out of bounds access in compact_arena
Attackers can trigger out-of-bounds memory access in the compact_arena Rust library, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-16139?
CVE-2019-16139 is a critical memory corruption vulnerability in n/a, published on 9 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the compact_arena crate before 0.4.0 for Rust. Generativity is mishandled, leading to an out-of-bounds write or read.
Which versions are affected by CVE-2019-16139?
3 open source packages ship an affected version, including compact_arena. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
compact_arena crates.io | All versions | 0.4.0 |
compact_arena crates.io | All versions | 0.4.0 |
compact_arena crates.io | From 0.0.0-0 | 0.4.0 |
Products include Compact Arena Project Compact Arena.
How do I fix CVE-2019-16139?
Upgrade compact_arena to 0.4.0 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-16139 being exploited?
There is no known exploitation of CVE-2019-16139 in the wild and no public exploit code.
Sources
Also known as GHSA-7j36-gc4r-9x3r, RUSTSEC-2019-0015.