Uninitialized Memory Exposure Affecting acc_reader package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ACCREADER-1569212
  • published24 Aug 2021
  • disclosed27 Dec 2020
  • creditUnknown

Introduced: 27 Dec 2020

CVE-2020-36513  (opens in a new tab)
CVE-2020-36514  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

There is no fixed version for acc_reader.

Overview

acc_reader is an A wrapper for std::io::Read providing std::io::Seek.

Affected versions of this package are vulnerable to Uninitialized Memory Exposure. It passes an uninitialized buffer to a user-provided Read implementation via fill_buf() and read_up_to(). 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.

References

CVSS Scores

version 3.1