CRITICAL9.8
GHSA-9q5j-jm53-v7vr
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](https://nvd.nist.gov/vuln/detail/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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/lz4-sys
Introduced in:
0Fixed in: 1.9.4Upgrade lz4-sys to 1.9.4 or newer (ecosystem crates.io).