CVE-2019-1010299: The Rust Programming Language Standard Library 1.18.0 and later is affected by: CWE-200: Information Exposure.
Medium CVSS 5.3
- CVE id
- CVE-2019-1010299
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Rust Runtimes and servers |
>= 1.18.0, < 1.30.0 | 1.30.0 |
How to fix it
Upgrade Rust to 1.30.0 or later.
rustc --version
- Build with the patched Rust toolchain (rustup update, or rust-toolchain.toml) and redeploy.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2019-1010299 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-1010299
- Web: https://github.com/rust-lang/rust/issues/53566
- Web: https://github.com/rust-lang/rust/pull/53571/commits/b85e4cc8fadaabd41da5b9645c08c68b8f89908d
- Web: https://github.com/rust-lang/rust/issues/53566
- Web: https://github.com/rust-lang/rust/pull/53571/commits/b85e4cc8fadaabd41da5b9645c08c68b8f89908d
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.