RUSTSEC-2022-0051

Source
https://rustsec.org/advisories/RUSTSEC-2022-0051
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0051.json
JSON Data
https://api.test.osv.dev/v1/vulns/RUSTSEC-2022-0051
Aliases
Related
Published
2022-08-25T12:00:00Z
Modified
2023-11-01T05:07:21.117264Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Memory corruption in liblz4
Details

lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to CVE-2021-3520.

Attackers could craft a payload that triggers an integer overflow upon decompression, causing an out-of-bounds write.

The flaw has been corrected in version v1.9.4 of liblz4, which is included in lz4-sys 1.9.4.

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

Affected packages

crates.io / lz4-sys

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
1.9.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:H/I:H/A:H",
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}