Integer Overflow or Wraparound Affecting lz4-libs package, versions <0:1.8.3-3.el8_4
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-LZ4LIBS-2113407
- published 26 Jul 2021
- disclosed 28 Apr 2021
How to fix?
Upgrade Centos:8
lz4-libs
to version 0:1.8.3-3.el8_4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream lz4-libs
package and not the lz4-libs
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
There's a flaw in lz4. An attacker who submits a crafted file to an application linked with lz4 may be able to trigger an integer overflow, leading to calling of memmove() on a negative size argument, causing an out-of-bounds write and/or a crash. The greatest impact of this flaw is to availability, with some potential impact to confidentiality and integrity as well.
References
- https://access.redhat.com/security/cve/CVE-2021-3520
- https://bugzilla.redhat.com/show_bug.cgi?id=1954559
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://access.redhat.com/errata/RHSA-2021:2575
- https://security.netapp.com/advisory/ntap-20211104-0005/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://access.redhat.com/errata/RHBA-2021:2854