GHSA-9q5j-jm53-v7vr

Suggest an improvement
Source
https://github.com/advisories/GHSA-9q5j-jm53-v7vr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-9q5j-jm53-v7vr/GHSA-9q5j-jm53-v7vr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9q5j-jm53-v7vr
Aliases
Published
2022-09-01T22:24:55Z
Modified
2023-11-08T04:18:03.475448Z
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
lz4-sys vulnerable to memory corruption via issue 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
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-190",
        "CWE-787"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-01T22:24:55Z"
}
References

Affected packages

crates.io / lz4-sys

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.4