CVE-2021-28030 Use of Uninitialized Resource in truetype

High 7.5 Published Updated

Attackers can read uninitialized memory contents via a crafted Read operation in the truetype crate, potentially exposing sensitive data.

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

What is CVE-2021-28030?

CVE-2021-28030 is a high-severity vulnerability in n/a, published on 5 Mar 2021. 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 truetype crate before 0.30.1 for Rust. Attackers can read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take_bytes.

Weakness: CWE-908

Which versions are affected by CVE-2021-28030?

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

PackageAffectedFixed in
truetype crates.ioAll versions0.30.1
truetype crates.ioAll versions0.30.1
truetype crates.ioFrom 0.0.0-00.30.1

Products include Truetype Project Truetype.

How do I fix CVE-2021-28030?

Upgrade truetype to 0.30.1 or later.

Is CVE-2021-28030 being exploited?

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

Sources

Also known as GHSA-v7q4-97x4-4qw2, RUSTSEC-2021-0029.

Is CVE-2021-28030 in your software?

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

Check your SBOMs for free