CVE-2019-16144 Uninitialized memory use in generator

High 7.5 Published Updated

Attackers can exploit uninitialized memory in the Rust generator crate to potentially disclose sensitive data or execute arbitrary code.

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

CVE-2019-16144 is a high-severity memory corruption vulnerability in n/a, published on 9 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 generator crate before 0.6.18 for Rust. Uninitialized memory is used by Scope, done, and yield_ during API calls.

Weakness: CWE-908

Which versions are affected by CVE-2019-16144?

3 open source packages ship an affected version, including generator. It affects 1 product.

PackageAffectedFixed in
generator crates.ioAll versions0.6.18
generator crates.ioAll versions0.6.18
generator crates.ioFrom 0.0.0-00.6.18

Products include Generator-Rs Project Generator-Rs.

How do I fix CVE-2019-16144?

Upgrade generator to 0.6.18 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-16144 being exploited?

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

Sources

Also known as GHSA-6c65-xcf5-299x, RUSTSEC-2019-0020.

Is CVE-2019-16144 in your software?

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

Check your SBOMs for free