{"answers":{"affected":"3 open source packages ship an affected version, including lz4-sys. It affects 7 products.","exploited":"There is no known exploitation of CVE-2021-3520 in the wild and no public exploit code.","fix":"Upgrade lz4-sys to 1.9.4 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-3520 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-3520 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- lz4-sys (crates.io): affected all versions; fixed in 1.9.4\n- lz4-sys (crates.io): affected all versions; fixed in 1.9.4\n- lz4-sys (crates.io): affected from 0.0.0-0; fixed in 1.9.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3520/ (Markdown: https://insights.sbomify.com/CVE-2021-3520/index.md)","id":"CVE-2021-3520","markdown":"https://insights.sbomify.com/CVE-2021-3520/index.md","name":"CVE-2021-3520","record":{"aliases":["ALPINE-CVE-2021-3520","ALSA-2021:2575","AZL-74241","CLSA-2023-1695326199","CLSA-2026-1777307383","CLSA-2026-1792171196","DEBIAN-CVE-2021-3520","DLA-2657-1","DSA-4919-1","GHSA-9q5j-jm53-v7vr","GHSA-gmc7-pqv9-966m","JLSEC-2026-532","MGASA-2021-0229","OESA-2021-1245","RHSA-2021:2575","RLSA-2021:2575","RUSTSEC-2022-0051","SUSE-SU-2021:1647-1","SUSE-SU-2021:1825-1","UBUNTU-CVE-2021-3520","USN-4968-1","USN-4968-2","openSUSE-SU-2021:0760-1","openSUSE-SU-2021:1825-1","openSUSE-SU-2024:11562-1","openSUSE-SU-2024:12902-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"LZ4 compression library","requires_auth":"none","summary":"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.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"lz4","vendor":"lz4_project"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"cloud_backup","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"zfs_storage_appliance_kit","vendor":"oracle"},{"product":"universal_forwarder","vendor":"splunk"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::baseos","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Manager Proxy 4.0","SUSE:Manager Retail Branch Server 4.0","SUSE:Manager Server 4.0","crates.io","openSUSE:Leap 15.2","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"lz4-sys vulnerable to memory corruption via issue in liblz4","id":"CVE-2021-3520","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":"netapp:active_iq_unified_manager","products":["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","splunk:universal_forwarder"],"type":"integer_overflow","year":"2021"},"n_packages":33,"n_references":5,"next":{"headline":"Security feature bypass in RPM","id":"CVE-2021-3521"},"packages":[{"ecosystem":"crates.io","fixed":["1.9.4"],"introduced":["0"],"last_affected":[],"package":"lz4-sys","purl":null,"source":"GHSA-9q5j-jm53-v7vr"},{"ecosystem":"crates.io","fixed":["1.9.4"],"introduced":["0"],"last_affected":[],"package":"lz4-sys","purl":"pkg:cargo/lz4-sys","source":"GHSA-9q5j-jm53-v7vr"},{"ecosystem":"crates.io","fixed":["1.9.4"],"introduced":["0.0.0-0"],"last_affected":[],"package":"lz4-sys","purl":"pkg:cargo/lz4-sys","source":"RUSTSEC-2022-0051"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/almalinux/lz4","source":"ALSA-2021:2575"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-devel","purl":"pkg:rpm/almalinux/lz4-devel","source":"ALSA-2021:2575"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-libs","purl":"pkg:rpm/almalinux/lz4-libs","source":"ALSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/redhat/lz4","source":"RHSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-debuginfo","purl":"pkg:rpm/redhat/lz4-debuginfo","source":"RHSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-debugsource","purl":"pkg:rpm/redhat/lz4-debugsource","source":"RHSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-devel","purl":"pkg:rpm/redhat/lz4-devel","source":"RHSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-libs","purl":"pkg:rpm/redhat/lz4-libs","source":"RHSA-2021:2575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4-libs-debuginfo","purl":"pkg:rpm/redhat/lz4-libs-debuginfo","source":"RHSA-2021:2575"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.8.3-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/rocky-linux/lz4?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2021:2575"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.9.2-3.3.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:1825-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Manager Proxy 4.0","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Manager%20Proxy%204.0","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"SUSE:Manager Server 4.0","fixed":["1.8.0-3.8.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/suse/lz4\u0026distro=SUSE%20Manager%20Server%204.0","source":"SUSE-SU-2021:1647-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.8.0-lp152.5.3.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/opensuse/lz4\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0760-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.8.0-lp152.5.3.1"],"introduced":["0"],"last_affected":[],"package":"lz4-test","purl":"pkg:rpm/opensuse/lz4-test\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0760-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.9.2-3.3.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/opensuse/lz4\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:1825-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.9.3-2.1"],"introduced":["0"],"last_affected":[],"package":"lz4","purl":"pkg:rpm/opensuse/lz4\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11562-1"}],"prev":{"headline":"Auth bypass in Desktop BIOS","id":"CVE-2021-3519"},"products":["lz4"],"published":"2021-06-02","related":[{"cvss_score":8.1,"headline":"Memory corruption in n/a","id":"CVE-2019-17543","kev_date_added":null,"published":"2019-10-14"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"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.","url":"https://insights.sbomify.com/CVE-2021-3520/"}