CVE-2019-1010299 Information disclosure in Standard Library

Medium 5.3 Published Updated

Attackers can read uninitialized memory contents via debug printing of empty VecDeque iterators in the Rust standard library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-1010299?

CVE-2019-1010299 is a medium-severity vulnerability in The Rust Programming Language Standard Library, published on 15 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-908, CWE-200

Which versions are affected by CVE-2019-1010299?

It affects 1 product.

Products include Rust-Lang Rust.

How do I fix CVE-2019-1010299?

Upgrade to a fixed version.

Is CVE-2019-1010299 being exploited?

There is no known exploitation of CVE-2019-1010299 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-1010299, GHSA-q36q-x6v6-cvmp.

Is CVE-2019-1010299 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free