CVE-2021-45417 Memory corruption in n/a

High 7.8 Published Updated

Local attackers can gain root privileges via a heap-based buffer overflow in AIDE caused by crafted file metadata.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-45417?

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.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2021-45417?

It affects 7 products.

Linux distribution packages (40)
aide AlmaLinux:8All versions0.16-14.el8_5.1
aide Red Hat:enterprise_linux:7::clientAll versions0:0.15.1-13.el7_9.1
aide-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.15.1-13.el7_9.1
aide Red Hat:enterprise_linux:7::serverAll versions0:0.15.1-13.el7_9.1
aide-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.15.1-13.el7_9.1
aide Red Hat:enterprise_linux:7::workstationAll versions0:0.15.1-13.el7_9.1
aide-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.15.1-13.el7_9.1
aide Red Hat:enterprise_linux:8::appstreamAll versions0:0.16-14.el8_5.1
aide-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.16-14.el8_5.1
aide-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:0.16-14.el8_5.1
aide Red Hat:rhel_e4s:8.1::appstreamAll versions0:0.16-11.el8_1.1
aide-debuginfo Red Hat:rhel_e4s:8.1::appstreamAll versions0:0.16-11.el8_1.1
aide-debugsource Red Hat:rhel_e4s:8.1::appstreamAll versions0:0.16-11.el8_1.1
aide Red Hat:rhel_els:6All versions0:0.14-11.el6_10.1
aide-debuginfo Red Hat:rhel_els:6All versions0:0.14-11.el6_10.1
aide Red Hat:rhel_eus:8.2::appstreamAll versions0:0.16-11.el8_2.1
aide-debuginfo Red Hat:rhel_eus:8.2::appstreamAll versions0:0.16-11.el8_2.1
aide-debugsource Red Hat:rhel_eus:8.2::appstreamAll versions0:0.16-11.el8_2.1
aide Red Hat:rhel_eus:8.4::appstreamAll versions0:0.16-14.el8_4.1
aide-debuginfo Red Hat:rhel_eus:8.4::appstreamAll versions0:0.16-14.el8_4.1
aide-debugsource Red Hat:rhel_eus:8.4::appstreamAll versions0:0.16-14.el8_4.1
aide Rocky Linux:8All versions0:0.16-14.el8_5.1
aide SUSE:Enterprise Storage 6All versions0.16-24.1
aide SUSE:Enterprise Storage 7All versions0.16-24.1
aide SUSE:HPE Helion OpenStack 8All versions0.16-20.15.1
aide SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions0.16-24.1
aide SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions0.16-24.1
aide SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions0.16-24.1
aide SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions0.16-24.1
aide SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.16-24.1
aide SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.16-24.1
aide SUSE:Linux Enterprise Micro 5.1All versions0.16-24.1
aide SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.16-24.1
aide SUSE:Linux Enterprise Point of Sale 11 SP3All versions0.13.1-40.16.6.1
aide SUSE:Linux Enterprise Real Time 15 SP2All versions0.16-24.1
aide SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions0.13.1-40.16.6.1
aide SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.16-20.15.1
aide SUSE:Linux Enterprise Server 12 SP3-BCLAll versions0.16-20.15.1
aide SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions0.16-20.15.1
aide SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions0.16-20.15.1

Products include Advanced Intrusion Detection Environment Project Advanced Intrusion Detection Environment, Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Ovirt-Node and 1 more.

How do I fix CVE-2021-45417?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-45417 being exploited?

There is no known exploitation of CVE-2021-45417 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALSA-2022:0441, DEBIAN-CVE-2021-45417, DLA-2894-1, DSA-5051-1, GHSA-gfm2-8gq5-m3x8, MGASA-2024-0100 and 17 more.

Is CVE-2021-45417 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free