RUSTSEC-2021-0043

Source
https://rustsec.org/advisories/RUSTSEC-2021-0043
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0043.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0043
Aliases
Published
2021-02-17T12:00:00Z
Modified
2023-11-08T04:05:43.759302Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
PartialReader passes uninitialized memory to user-provided Read
Details

Affected versions of this crate passed an uniniitalized buffer to a user-provided Read instance in PartialReader::read.

This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior.

The flaw was fixed in commit 39d62c6 by zero-initializing the passed buffer.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / uu_od

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.0.4

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
    "informational": null,
    "categories": [
        "memory-exposure"
    ]
}