Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. truetype
  4. ›
  5. CVE-2021-28030

CVE-2021-28030: Use of Uninitialized Resource in truetype

August 25, 2021

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.

References

  • github.com/advisories/GHSA-v7q4-97x4-4qw2
  • github.com/bodoni/truetype
  • github.com/bodoni/truetype/issues/11
  • nvd.nist.gov/vuln/detail/CVE-2021-28030
  • rustsec.org/advisories/RUSTSEC-2021-0029.html

Code Behaviors & Features

Detect and mitigate CVE-2021-28030 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.30.1

Fixed versions

  • 0.30.1

Solution

Upgrade to version 0.30.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-908: Use of Uninitialized Resource

Source file

cargo/truetype/CVE-2021-28030.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.