CVE-2019-12083 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::typ...
HighCVSS 8.1
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
18 packages: 16 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/chromium-rust(Alpine v3.24) | < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.11) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.12) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.13) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.14) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.15) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.16) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.17) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.18) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.19) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.20) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.21) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.22) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.23) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| alpine/rust(Alpine v3.24) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 | Fixed |
| rust-lang rust | >= 1.34.0, < 1.34.2 | 1.34.2 | Fixed |
| fedoraproject fedora | = 29; = 30 | No fix listed | Versions listed |
| openSUSE leap | = 15.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rust-lang rust | >= 1.34.0, < 1.34.2 | 1.34.2 |
| fedoraproject fedora | = 29 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| alpine/chromium-rust(Alpine:v3.24) | < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.11) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.12) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.13) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.14) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.15) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.16) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.17) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.18) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.19) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.20) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.21) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.22) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.23) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
| alpine/rust(Alpine:v3.24) | >= 1.34.0, < 1.34.2-r0 | 1.34.2-r0 |
References
- openSUSE-SU-2019:2203 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2244 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2294 mailing-list third-party-advisory vendor-advisory
- blog.rust-lang.org exploit mitigation vendor-advisory
- groups.google.com
- FEDORA-2019-f76f0e11b3 vendor-advisory
- FEDORA-2019-e39d4910c6 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2019-12083 vendor-advisory