OSV-2020-624 Heap-buffer-overflow in LZ4_write32
A heap-buffer-overflow in the LZ4 compression library allows attackers to cause crashes or potentially execute arbitrary code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-624?
OSV-2020-624 is a memory corruption vulnerability in lz4, published on 1 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15941
Crash type: Heap-buffer-overflow WRITE 4
Crash state:
LZ4_write32
LZ4_compress_fast_extState
LZ4_compress_fast
Which versions are affected by OSV-2020-624?
1 open source package ship an affected version, including lz4.
| Package | Affected | Fixed in |
|---|---|---|
lz4 OSS-Fuzz | All versions | None |
How do I fix OSV-2020-624?
No fix has been published for OSV-2020-624 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2020-624 being exploited?
There is no known exploitation of OSV-2020-624 in the wild and no public exploit code.