CVE-2019-12083
Last modified
CVE-2019-12083 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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). EPSS estimates a 2.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rust-Lang | Rust | >= 1.34.0, < 1.34.2 |
| Fedoraproject | Fedora | 29 |
| Fedoraproject | Fedora | 30 |
| Opensuse | Leap | 15.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.htmlMailing List, Third Party Advisory
- https://blog.rust-lang.org/2019/05/13/Security-advisory.htmlExploit, Mitigation, Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.htmlMailing List, Third Party Advisory
- https://blog.rust-lang.org/2019/05/13/Security-advisory.htmlExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-12083?
How severe is CVE-2019-12083?
How do I fix CVE-2019-12083?
Are you affected by CVE-2019-12083?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
