CVE-2019-1010299

vec_deque::Iter has unsound Debug implementation

Issued
Package
std
Type
Vulnerability
Categories
  • memory-exposure
Details
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1010299
Patched
  • >=1.30.0
Unaffected
  • <1.18.0

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.

More