CVE-2019-12083 json
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's s…
published 2019-05-13 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-3736
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rust-lang rust 1.34.2
- rust SLE Module for Development Tools 15 SP1 1.36.0-4.1
- rust SLE Module for Development Tools 15 1.36.0-3.21.1
suse advisories SUSE-SU-2019:2755-1SUSE-SU-2019:2439-1
- rust1.53 openSUSE Tumbleweed 1.53.0-2.5
- rust openSUSE Leap 15.1 1.36.0-lp151.5.8.1
- rust-cbindgen openSUSE Leap 15.1 0.8.7-lp151.5.2
- rust openSUSE Leap 15.1 1.36.0-lp151.5.4.2
- rust openSUSE Leap 15.1 1.36.0-lp151.5.4.1
- rust-cbindgen openSUSE Leap 15.1 0.8.7-lp151.2.2
opensuse advisories openSUSE-SU-2024:11360-1openSUSE-SU-2019:2294-1openSUSE-SU-2019:2244-1openSUSE-SU-2019:2203-1
- rust Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.34.2-r0
- chromium-rust Alpine 3.24 1.34.2-r0
alpine advisories ALPINE-CVE-2019-12083
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-12083 updated cvss 4.4
rust: overriden stabilized method `Error::type_id` can violate Rust's safety guarantees leading to out-of-bounds write or read
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.rust-lang.org https://blog.rust-lang.org/2019/05/13/Security-advisory.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
References
-
blog.rust-lang.org
/2019/05/13/Security-advisory.html
exploit, mitigation, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/K6T4BNA5KQYJRIKIGGBOGBMR7TRXPHLR/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HG47HYH3AQTUMBUMX3S3G5DNAY4CBW6N/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00076.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00031.html
vendor-advisory, mailing-list, third-party-advisory
- groups.google.com /forum/#%21topic/rustlang-security-announcements/aZabeCMUv70
Sources
- CVE List CVE-2019-12083
- NVD CVE-2019-12083
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.