Integer overflow in lz4
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | lz4 | lz4-1.8.3 | — | No fix listed | CNA |
- lz4 Vendor— Affected lz4-1.8.3 Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:lz4_project:lz4:*:*:*:*:*:*:*:* | 1.8.3 to before 1.9.4 | Vulnerable | Lz4 Project |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* | 1.14.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Oracle |
| cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* | 8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6 | Vulnerable | Splunk |
| cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* | 9.1.0 | Vulnerable | Splunk |
- cpe:2.3:a:lz4_project:lz4:*:*:*:*:*:*:*:* Versions 1.8.3 to before 1.9.4 Vulnerable ·Lz4 Project
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* Versions 1.14.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Oracle
- cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* Versions 8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6 Vulnerable ·Splunk
- cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* Versions 9.1.0 Vulnerable ·Splunk
Remediation
Red Hat 5 advisories
- RHSA-2024:3527 Released 2024-05-30 · Red Hat rating ModerateRed Hat AMQ Streams 2.7.0 release and security update
- Red Hat AMQ Streams 2.7.0
- RHSA-2022:6407 Released 2022-09-09 · Red Hat rating ModerateRed Hat Integration Camel-K 1.8 security update
- RHAF Camel-K 1.8
- RHSA-2022:5606 Released 2022-07-19 · Red Hat rating ModerateRed Hat Integration Camel Extensions for Quarkus 2.7 security update
- RHINT Camel-Q 2.7
Show 2 more Red Hat advisories
- RHSA-2022:1345 Released 2022-04-13 · Red Hat rating ModerateRed Hat AMQ Streams 2.1.0 release and security update
- Red Hat AMQ Streams 2.1.0
- RHSA-2021:2575 Released 2021-06-29 · Red Hat rating Moderatelz4 security update
- Red Hat Enterprise Linux BaseOS (v. 8) lz4-1.8.3-3.el8_4, lz4-devel-1.8.3-3.el8_4, lz4-libs-1.8.3-3.el8_4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat build of Quarkus | Affected | No fix yet |
| 7Server-RHMTC-1.4 | Fixed | — |
| 8Base-RHMTC-1.4 | Fixed | — |
| RHAF Camel-K 1.8 | Fixed | RHSA-2022:6407 |
| RHINT Camel-Q 2.7 | Fixed | RHSA-2022:5606 |
| Red Hat AMQ Streams 2.1.0 | Fixed | RHSA-2022:1345 |
| Red Hat AMQ Streams 2.7.0 | Fixed | RHSA-2024:3527 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:2575 |
Not affected: 2 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3520
- 2026-10-03 Alias added: GHSA-gmc7-pqv9-966m
- 2026-10-08 CISA SSVC decision points changed
References
Sources
- CVE-2021-3520 · CVE Program
- CVE-2021-3520 · NVD
- FIRST EPSS
- GHSA-gmc7-pqv9-966m · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3520 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences