CVE-2021-3520 lz4-sys vulnerable to memory corruption via issue in liblz4
An attacker can cause a crash or out-of-bounds write in applications using the LZ4 library by submitting a crafted file, impacting availability and integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3520?
CVE-2021-3520 is a critical vulnerability in Netapp Active Iq Unified Manager, published on 2 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2021-3520?
3 open source packages ship an affected version, including lz4-sys. It affects 7 products.
| Package | Affected | Fixed in |
|---|---|---|
lz4-sys crates.io | All versions | 1.9.4 |
lz4-sys crates.io | All versions | 1.9.4 |
lz4-sys crates.io | From 0.0.0-0 | 1.9.4 |
Linux distribution packages (30)
lz4 AlmaLinux:8 | All versions | 1.8.3-3.el8_4 |
lz4-devel AlmaLinux:8 | All versions | 1.8.3-3.el8_4 |
lz4-libs AlmaLinux:8 | All versions | 1.8.3-3.el8_4 |
lz4 Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4-libs Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4-libs-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.3-3.el8_4 |
lz4 Rocky Linux:8 | All versions | 0:1.8.3-3.el8_4 |
lz4 SUSE:Enterprise Storage 6 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Micro 5.0 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 1.9.2-3.3.1 |
lz4 SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Server 15-LTSS | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Manager Proxy 4.0 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Manager Retail Branch Server 4.0 | All versions | 1.8.0-3.8.1 |
lz4 SUSE:Manager Server 4.0 | All versions | 1.8.0-3.8.1 |
lz4 openSUSE:Leap 15.2 | All versions | 1.8.0-lp152.5.3.1 |
lz4-test openSUSE:Leap 15.2 | All versions | 1.8.0-lp152.5.3.1 |
lz4 openSUSE:Leap 15.3 | All versions | 1.9.2-3.3.1 |
lz4 openSUSE:Tumbleweed | All versions | 1.9.3-2.1 |
Products include Lz4 Project Lz4, Netapp Active Iq Unified Manager, Netapp Cloud Backup, Netapp Ontap Select Deploy Administration Utility, Oracle Communications Cloud Native Core Policy, Oracle Zfs Storage Appliance Kit and 1 more.
How do I fix CVE-2021-3520?
Upgrade lz4-sys to 1.9.4 or later.
Is CVE-2021-3520 being exploited?
There is no known exploitation of CVE-2021-3520 in the wild and no public exploit code.
Other vulnerabilities in Netapp Active Iq Unified Manager
Sources
Also known as ALPINE-CVE-2021-3520, ALSA-2021:2575, AZL-74241, CLSA-2023-1695326199, CLSA-2026-1777307383, CLSA-2026-1792171196 and 20 more.