PT-2021-17718 · Truetype · Truetype

Published

2021-02-17

·

Updated

2021-08-25

·

CVE-2021-28030

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: truetype crate versions prior to 0.30.1
Description: An issue in the truetype crate allows attackers to read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take bytes(). This can result in safe Read implementations reading from the uninitialized buffer, leading to undefined behavior.
Recommendations: For versions prior to 0.30.1, update to version 0.30.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of Tape::take bytes() with user-provided Read operations until a patch is applied.

Fix

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-28030
GHSA-V7Q4-97X4-4QW2
RUSTSEC-2021-0029

Affected Products

Truetype