{"id":"GHSA-9q5j-jm53-v7vr","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\n[CVE-2021-3520](https://nvd.nist.gov/vuln/detail/CVE-2021-3520).\n\nAttackers could craft a payload that triggers an integer overflow upon\ndecompression, causing an out-of-bounds write.\n\nThe flaw has been corrected in version v1.9.4 of liblz4, which is included\nin lz4-sys 1.9.4.\n","aliases":["RUSTSEC-2022-0051"],"modified":"2023-11-08T04:18:03.475448Z","published":"2022-09-01T22:24:55Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-09-01T22:24:55Z","nvd_published_at":null,"cwe_ids":["CWE-190","CWE-787"]},"references":[{"type":"WEB","url":"https://github.com/lz4/lz4/pull/972"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0051.html"}],"affected":[{"package":{"name":"lz4-sys","ecosystem":"crates.io","purl":"pkg:cargo/lz4-sys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-9q5j-jm53-v7vr/GHSA-9q5j-jm53-v7vr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}