GHSA-9q5j-jm53-v7vr lz4-sys vulnerable to memory corruption via issue in liblz4
CriticalCVSS 9.8
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io lz4-sys(crates.io) | < 1.9.4; >= 0.0.0-0, < 1.9.4 | 1.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io lz4-sys(crates.io) | < 1.9.4 | 1.9.4 |
| crates.io lz4-sys(crates.io) | >= 0.0.0-0, < 1.9.4 | 1.9.4 |
References
- github.com patch
- rustsec.org vendor-advisory
- github.com
- crates.io product