What’s Vulnerable › Vulnerabilities
CVE-2019-1010299
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-07-15 · updated 2026-06-17
- Weakness: CWE-200
Description
The Rust Programming Language Standard Library 1.18.0 and later is affected by: CWE-200: Information Exposure. The impact is: Contents of uninitialized memory could be printed to string or to log file. The component is: Debug trait implementation for std::collections::vec_deque::Iter. The attack vector is: The program needs to invoke debug printing for iterator over an empty VecDeque. The fixed version is: 1.30.0, nightly versions after commit b85e4cc8fadaabd41da5b9645c08c68b8f89908d.
Affected products
- rust-lang rust: from 1.18.0 before 1.30.0 — fixed in 1.30.0
How to fix
Upgrade to a fixed version: rust-lang rust 1.30.0. Check the vendor advisory for mitigations.
References
- https://github.com/rust-lang/rust/issues/53566
- https://github.com/rust-lang/rust/pull/53571/commits/b85e4cc8fadaabd41da5b9645c08c68b8f89908d
- https://github.com/rust-lang/rust/issues/53566
- https://github.com/rust-lang/rust/pull/53571/commits/b85e4cc8fadaabd41da5b9645c08c68b8f89908d
Get alerted when CVE-2019-1010299 or the next vulnerability affects your stack