{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2021-45417 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-45417 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 20 Jan 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-45417 and fix it if it is affected.\n\nWhat it is: CVE-2021-45417 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 20 Jan 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-45417 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-45417/ (Markdown: https://insights.sbomify.com/CVE-2021-45417/index.md)","id":"CVE-2021-45417","markdown":"https://insights.sbomify.com/CVE-2021-45417/index.md","name":"CVE-2021-45417","record":{"aliases":["ALSA-2022:0441","DEBIAN-CVE-2021-45417","DLA-2894-1","DSA-5051-1","GHSA-gfm2-8gq5-m3x8","MGASA-2024-0100","OESA-2022-1523","RHSA-2022:0440","RHSA-2022:0441","RHSA-2022:0456","RHSA-2022:0464","RHSA-2022:0472","RHSA-2022:0473","RLSA-2022:0441","SUSE-SU-2022:0145-1","SUSE-SU-2022:0150-1","SUSE-SU-2022:0150-2","SUSE-SU-2022:14879-1","UBUNTU-CVE-2021-45417","USN-5243-1","USN-5243-2","openSUSE-SU-2022:0150-1","openSUSE-SU-2024:11960-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AIDE file integrity","requires_auth":"low_privilege","summary":"Local attackers can gain root privileges via a heap-based buffer overflow in AIDE caused by crafted file metadata.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"advanced_intrusion_detection_environment","vendor":"advanced_intrusion_detection_environment_project"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"ovirt-node","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"AIDE before 0.17.4 allows local users to obtain root privileges via crafted file metadata (such as XFS extended attributes or tmpfs ACLs), because of a heap-based buffer overflow.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_els:6","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","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 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","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":"Memory corruption in n/a","id":"CVE-2021-45417","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","redhat:enterprise_linux","redhat:virtualization_host"],"type":"memory_corruption","year":"2021"},"n_packages":62,"n_references":6,"next":{"headline":"Path traversal in n/a","id":"CVE-2021-45418"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.16-14.el8_5.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/almalinux/aide","source":"ALSA-2022:0441"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.15.1-13.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0473"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-14.el8_5.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0441"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-14.el8_5.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0441"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-14.el8_5.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2022:0441"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.16-11.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0464"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.16-11.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0464"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.16-11.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2022:0464"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:0.14-11.el6_10.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0472"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:0.14-11.el6_10.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0472"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:0.16-11.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0456"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:0.16-11.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0456"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:0.16-11.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2022:0456"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.16-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2022:0440"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.16-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2022:0440"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.16-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2022:0440"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.16-14.el8_5.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/rocky-linux/aide?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:0441"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["0.16-20.15.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:0145-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:0150-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["0.13.1-40.16.6.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2022:14879-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["0.16-24.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:0150-2"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["0.13.1-40.16.6.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2022:14879-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["0.16-20.15.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:0145-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["0.16-20.15.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:0145-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["0.16-20.15.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2022:0145-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["0.16-20.15.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/suse/aide\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:0145-1"}],"prev":{"headline":"RosarioSIS XSS Vulnerability","id":"CVE-2021-45416"},"products":["n/a"],"published":"2022-01-20","related":[{"cvss_score":6.2,"headline":"AIDE improper output neutralization vulnerability","id":"CVE-2025-54389","kev_date_added":null,"published":"2025-08-14"},{"cvss_score":6.2,"headline":"AIDE null pointer dereference when reading incorrectly encoded xattr attributes from database (local DoS)","id":"CVE-2025-54409","kev_date_added":null,"published":"2025-08-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":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Local attackers can gain root privileges via a heap-based buffer overflow in AIDE caused by crafted file metadata.","url":"https://insights.sbomify.com/CVE-2021-45417/"}