
Cloud Vulnerability DB
A community-led vulnerabilities database
An issue was discovered in the truetype crate before version 0.30.1 for Rust, identified as CVE-2021-28030. The vulnerability was reported on February 17, 2021, and officially issued on March 1, 2021. This security flaw allows attackers to read the contents of uninitialized memory locations through a user-provided Read operation within the Tape::take_bytes function (RustSec Advisory).
The vulnerability stems from the Tape::take_bytes function passing an uninitialized buffer to a user-provided Read instance. This implementation flaw can result in safe Read implementations reading from the uninitialized buffer, leading to undefined behavior. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility, low attack complexity, and high impact on confidentiality (NVD).
The primary impact of this vulnerability is the potential exposure of uninitialized memory contents to attackers. This could lead to information disclosure of sensitive data that might be present in the memory locations accessed through the vulnerable function (RustSec Advisory).
The vulnerability can be exploited remotely without requiring any privileges or user interaction. The attack complexity is considered low, making it relatively straightforward for attackers to exploit (NVD).
The vulnerability was patched in version 0.30.1 of the truetype crate. The fix was implemented in commit 1f2dc7f37dd by removing the unsafe block and implementing zero-initialization of the buffer. Users should upgrade to version 0.30.1 or later to address this security issue (RustSec Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."