CVE-2019-16882 Use after free in string-interner

High 7.5 Published Updated

Attackers can read sensitive memory via dangling pointers in the Rust string-interner crate due to a cloning flaw.

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-16882?

CVE-2019-16882 is a high-severity use after free vulnerability in n/a, published on 25 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the string-interner crate before 0.7.1 for Rust. It allows attackers to read from memory locations associated with dangling pointers, because of a cloning flaw.

Weakness: CWE-416

Which versions are affected by CVE-2019-16882?

5 open source packages ship an affected version, including string-interner. It affects 1 product.

PackageAffectedFixed in
string-interner crates.ioAll versions0.6.4
string-interner crates.ioAll versions0.6.4
string-interner crates.ioFrom 0.0.0-00.6.4, 0.7.1
string-interner crates.ioFrom 0.7.00.7.1
string-interner crates.ioFrom 0.7.00.7.1

Products include String-Interner Project String-Interner.

How do I fix CVE-2019-16882?

Upgrade string-interner to a fixed version for your release line: 0.6.4 or 0.7.1.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2019-16882 being exploited?

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

Sources

Also known as GHSA-49fq-pw77-6qxj, RUSTSEC-2019-0023.

Is CVE-2019-16882 in your software?

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

Check your SBOMs for free