logo

CVE-2021-26953 postscript

Package

Manager: cargo
Name: postscript
Vulnerable Version: >=0 <0.14.0

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

Read on uninitialized buffer in postscript 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. This flaw was fixed in commit `8026286` by zero-initializing the buffer before handing to a user-provided Read.

Metadata

Created: 2021-08-25T20:52:23Z
Modified: 2023-06-13T20:33:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-fhvc-gp6c-h2wx/GHSA-fhvc-gp6c-h2wx.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-fhvc-gp6c-h2wx
Finding: F138
Auto approve: 1