CVE-2019-12083 Memory corruption in n/a
Overriding Error::type_id in Rust allows unsafe type casting, leading to memory corruption and potential code execution in safe code.
- 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-12083?
CVE-2019-12083 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 13 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.
Which versions are affected by CVE-2019-12083?
It affects 3 products.
Products include Fedoraproject Fedora, Opensuse Leap, Rust-Lang Rust.
How do I fix CVE-2019-12083?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-12083 being exploited?
There is no known exploitation of CVE-2019-12083 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2019-12083, CLEANSTART-2026-LX05449, GHSA-vc89-vpx6-fmpm.