Advisory

GHSA-v7q4-97x4-4qw2

Also known as: CVE-2021-28030, RUSTSEC-2021-0029

Summary

Use of Uninitialized Resource in truetype

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:51 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

truetype

crates.io · All systems

Affected

  • introduced 0, fixed 0.30.1 (semver)

Fixed versions

0.30.1

Fix

  • Fixed version 0.30.1
    cargo update -p truetype --precise 0.30.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences