CVE-2018-1000657: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in...
High CVSS 7.8
- CVE id
- CVE-2018-1000657
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Rust Runtimes and servers |
>= 1.3.0, < 1.22.0 | 1.22.0 |
How to fix it
Upgrade Rust to 1.22.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
Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerability appears to have been fixed in after commit fdfafb510b1a38f727e920dccbeeb638d39a8e60; stable release 1.22.0 and later.
References
- CVE-2018-1000657 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2018-1000657
- Web: https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2
- Web: https://github.com/rust-lang/rust/issues/44800
- Web: https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2
- Web: https://github.com/rust-lang/rust/issues/44800
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.