PT-2020-17659 · Rust · Acc Reader

Published

2020-12-27

·

Updated

2022-06-16

·

CVE-2020-36514

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions acc reader crate through 2020-12-27
Description The issue allows arbitrary Read implementations to read from an uninitialized buffer, resulting in memory exposure. This can also cause incorrect numbers of bytes to be written to the buffer. Reading from uninitialized memory produces undefined values, which can quickly invoke undefined behavior. The functions fill buf and read up to may read from uninitialized memory locations.
Recommendations For acc reader crate through 2020-12-27, consider restricting the use of the fill buf and read up to functions until a patch is available. As a temporary workaround, avoid passing uninitialized buffers to user-provided Read implementations. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-36514
GHSA-799F-R78P-GQ9C
GHSA-HV9V-7W3V-RJ6F
GHSA-P4CR-64X4-F92F
RUSTSEC-2020-0155

Affected Products

Acc Reader