GHSA-ff2r-xpwq-6whj

Suggest an improvement
Source
https://github.com/advisories/GHSA-ff2r-xpwq-6whj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-ff2r-xpwq-6whj/GHSA-ff2r-xpwq-6whj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ff2r-xpwq-6whj
Aliases
Published
2022-01-06T22:12:14Z
Modified
2023-11-08T04:07:21.997465Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Use of Uninitialized Resource in gfx-auxil
Details

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.

Database specific
{
    "nvd_published_at": "2021-12-27T00:15:00Z",
    "cwe_ids": [
        "CWE-908"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-06T16:10:35Z"
}
References

Affected packages

crates.io / gfx-auxil

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.10.0