PT-2021-17194 · Unknown · Postscript

Published

2021-01-30

·

Updated

2021-08-25

·

CVE-2021-26953

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: postscript crate versions prior to 0.14.0
Description: The issue allows attackers to obtain sensitive information from uninitialized memory locations via a user-provided Read implementation. Affected versions of the crate pass an uninitialized buffer to a user-provided Read implementation, which can read from the uninitialized buffer, causing memory exposure, and return an incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.
Recommendations: For versions prior to 0.14.0, update to version 0.14.0 or later, which includes the fix for this issue by zero-initializing the buffer before handing it to a user-provided Read implementation. As a temporary workaround, consider restricting the use of user-provided Read implementations until the issue is resolved.

Exploit

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-26953
GHSA-FHVC-GP6C-H2WX
RUSTSEC-2021-0017

Affected Products

Postscript