CVE-2021-26952 – ms3d
Package
Manager: cargo
Name: ms3d
Vulnerable Version: >=0 <0.1.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00291 pctl0.52047
Details
Use of Uninitialized Resource in ms3d Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior. The flaw was fixed in commit `599313b` by zero-initializing the buffer (via self.buf.resize(len, 0)) before passing it to Read.
Metadata
Created: 2021-08-25T20:53:16Z
Modified: 2023-06-13T20:06:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-9f5r-vqm5-m342/GHSA-9f5r-vqm5-m342.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-9f5r-vqm5-m342
Finding: F138
Auto approve: 1