CVE-2019-12083Rust-lang Rust
High 8.1 No auth needed
Follow: this CVE · Rust-lang · Rust-lang Rust We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- May 13, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Rust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rust-lang | rust | ≥ 1.34.0 < 1.34.2 |
| fedoraproject | fedora | 29 |
| fedoraproject | fedora | 30 |
| opensuse | leap | 15.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- blog.rust-lang.org Exploit Mitigation Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- lists.fedoraproject.org