Advisory

RUSTSEC-2020-0155

Also known as: CVE-2020-36513, CVE-2020-36514, GHSA-799f-r78p-gq9c, GHSA-hv9v-7w3v-rj6f, GHSA-p4cr-64x4-f92f

Summary

Read on uninitialized buffer in fill_buf() and read_up_to()

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.

Severity

Not rated by the source.

Dates

Published
2020-12-27 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

acc_reader

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences