Every CVE Search/ Get API key

CVE-2021-45417

AIDE before 0.17.4 allows local users to obtain root privileges via crafted file metadata (such...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.49%Up 0.2 points since Jan 21, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2021-45417
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-45417
Updated
2026-11-02
EUVDEUVD-2021-32188 No score

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.

Record
EUVD-2021-32188
Updated
2026-11-03
GitHub AdvisoriesGHSA-gfm2-8gq5-m3x8 7.8

AIDE before 0.17.4 allows local users to obtain root privileges via crafted file metadata (such...

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.

Record
GHSA-gfm2-8gq5-m3x8
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2021-45417
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-45417 7.8

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.

Record
DEBIAN-CVE-2021-45417
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 21 moreShow less
OSVOESA-2022-1523 7.8

aide security update

AIDE (Advanced Intrusion Detection Environment) is a file and directory integrity checker. It creates a database from the regular expression rules that it finds from the config file(s). Once this database is initialized it can be used to verify the integrity of the files.

Security Fix(es):

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.(CVE-2021-45417)

Record
OESA-2022-1523
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0440 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0440
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0441 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0441
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0456 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0456
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0464 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0464
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0472 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0472
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0473 7.5

Red Hat Security Advisory: aide security update

Record
RHSA-2022:0473
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:0540 7.8

Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.10-1]

Record
RHSA-2022:0540
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:1263 9.8

Red Hat Security Advisory: RHV-H security update (redhat-virtualization-host) 4.3.22

Record
RHSA-2022:1263
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2022:0441 7.5

Important: aide security update

Advanced Intrusion Detection Environment (AIDE) is a utility that creates a database of files on the system, and then uses that database to ensure file integrity and detect system intrusions.

Security Fix(es):

  • aide: heap-based buffer overflow on outputs larger than B64_BUF (CVE-2021-45417)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2022:0441
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-45417 7.8

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.

Record
UBUNTU-CVE-2021-45417
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2022:0441 No score

Important: aide security update

Advanced Intrusion Detection Environment (AIDE) is a utility that creates a database of files on the system, and then uses that database to ensure file integrity and detect system intrusions.

Security Fix(es):

  • aide: heap-based buffer overflow on outputs larger than B64_BUF (CVE-2021-45417)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2022:0441
Updated
2026-11-02
OSVMGASA-2024-0100 No score

Updated aide & mhash packages fix security vulnerability

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. (CVE-2021-45417)

Record
MGASA-2024-0100
Updated
2026-11-02
OSVopenSUSE-SU-2022:0150-1 No score

Security update for aide

This update for aide fixes the following issues:

  • CVE-2021-45417: Fix a bufferoverflow in base64 functions (bsc#1194735)
Record
openSUSE-SU-2022:0150-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11960-1 No score

aide-0.17.4-1.1 on GA media

These are all security issues fixed in the aide-0.17.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11960-1
Updated
2026-11-02
OSVSUSE-SU-2022:0145-1 No score

Security update for aide

This update for aide fixes the following issues:

  • CVE-2021-45417: Fix a bufferoverflow in base64 functions (bsc#1194735)
Record
SUSE-SU-2022:0145-1
Updated
2026-11-02
OSVSUSE-SU-2022:0150-1 No score

Security update for aide

This update for aide fixes the following issues:

  • CVE-2021-45417: Fix a bufferoverflow in base64 functions (bsc#1194735)
Record
SUSE-SU-2022:0150-1
Updated
2026-11-02
OSVSUSE-SU-2022:0150-2 No score

Security update for aide

This update for aide fixes the following issues:

  • CVE-2021-45417: Fix a bufferoverflow in base64 functions (bsc#1194735)
Record
SUSE-SU-2022:0150-2
Updated
2026-11-02
OSVSUSE-SU-2022:14879-1 No score

Security update for aide

This update for aide fixes the following issues:

  • CVE-2021-45417: Fix a bufferoverflow in base64 functions (bsc#1194735)
Record
SUSE-SU-2022:14879-1
Updated
2026-11-02
OSVUSN-5243-1 No score

aide vulnerability

David Bouman discovered that AIDE incorrectly handled base64 operations. A local attacker could use this issue to cause AIDE to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-5243-1
Updated
2026-11-02
OSVUSN-5243-2 No score

aide vulnerability

USN-5243-1 fixed a vulnerability in aide. This update provides the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

David Bouman discovered that AIDE incorrectly handled base64 operations. A local attacker could use this issue to cause AIDE to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-5243-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
aide
AlmaLinux:8
before 0.16-14.el8_5.1
0.16-14.el8_5.1
aide
Debian:12
before 0.17.4-1
0.17.4-1
aide
Debian:13
before 0.17.4-1
0.17.4-1
aide
Debian:14
before 0.17.4-1
0.17.4-1
aide
Debian:9
before 0.16-1+deb9u1, plus listed versions
0.16-1
0.16-1+deb9u1
aide
Debian:10
before 0.16.1-1+deb10u1, plus listed versions
0.16.1-1
0.16.1-1+deb10u1
aide
Debian:11
before 0.17.3-4+deb11u1, plus listed versions
0.17.3-4
0.17.3-4+deb11u1
aide
Mageia:9
before 0.18.6-1.mga9
0.18.6-1.mga9
mhash
Mageia:9
before 0.9.9.9-16.1.mga9
0.9.9.9-16.1.mga9
aide
openEuler:20.03-LTS-SP1
before 0.16.2-2.oe1
0.16.2-2.oe1
Show 71 moreShow less
Affected packages
PackageAffectedFixed
aide
openEuler:20.03-LTS-SP2
before 0.16.2-2.oe1
0.16.2-2.oe1
aide
openEuler:20.03-LTS-SP3
before 0.16.2-3.oe1
0.16.2-3.oe1
aide
Red Hat:rhel_eus:8.4::appstream
before 0:0.16-14.el8_4.1
0:0.16-14.el8_4.1
aide-debuginfo
Red Hat:rhel_eus:8.4::appstream
before 0:0.16-14.el8_4.1
0:0.16-14.el8_4.1
aide-debugsource
Red Hat:rhel_eus:8.4::appstream
before 0:0.16-14.el8_4.1
0:0.16-14.el8_4.1
aide
Red Hat:enterprise_linux:8::appstream
before 0:0.16-14.el8_5.1
0:0.16-14.el8_5.1
aide-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.16-14.el8_5.1
0:0.16-14.el8_5.1
aide-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.16-14.el8_5.1
0:0.16-14.el8_5.1
aide
Red Hat:rhel_eus:8.2::appstream
before 0:0.16-11.el8_2.1
0:0.16-11.el8_2.1
aide-debuginfo
Red Hat:rhel_eus:8.2::appstream
before 0:0.16-11.el8_2.1
0:0.16-11.el8_2.1
aide-debugsource
Red Hat:rhel_eus:8.2::appstream
before 0:0.16-11.el8_2.1
0:0.16-11.el8_2.1
aide
Red Hat:rhel_e4s:8.1::appstream
before 0:0.16-11.el8_1.1
0:0.16-11.el8_1.1
aide-debuginfo
Red Hat:rhel_e4s:8.1::appstream
before 0:0.16-11.el8_1.1
0:0.16-11.el8_1.1
aide-debugsource
Red Hat:rhel_e4s:8.1::appstream
before 0:0.16-11.el8_1.1
0:0.16-11.el8_1.1
aide
Red Hat:rhel_els:6
before 0:0.14-11.el6_10.1
0:0.14-11.el6_10.1
aide-debuginfo
Red Hat:rhel_els:6
before 0:0.14-11.el6_10.1
0:0.14-11.el6_10.1
aide
Red Hat:enterprise_linux:7::client
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
aide-debuginfo
Red Hat:enterprise_linux:7::client
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
aide
Red Hat:enterprise_linux:7::server
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
aide-debuginfo
Red Hat:enterprise_linux:7::server
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
aide
Red Hat:enterprise_linux:7::workstation
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
aide-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
redhat-virtualization-host
Red Hat:rhev_hypervisor:4.4::el8
From an advisory covering 4 CVEs
before 0:4.4.10-202202081536_8.5
0:4.4.10-202202081536_8.5
redhat-virtualization-host-image-update
Red Hat:rhev_hypervisor:4.4::el8
From an advisory covering 4 CVEs
before 0:4.4.10-202202081536_8.5
0:4.4.10-202202081536_8.5
redhat-virtualization-host
Red Hat:enterprise_linux:7::hypervisor
From an advisory covering 12 CVEs
before 0:4.3.22-20220330.1.el7_9
0:4.3.22-20220330.1.el7_9
redhat-virtualization-host-image-update
Red Hat:enterprise_linux:7::hypervisor
From an advisory covering 12 CVEs
before 0:4.3.22-20220330.1.el7_9
0:4.3.22-20220330.1.el7_9
aide
Rocky Linux:8
before 0:0.16-14.el8_5.1
0:0.16-14.el8_5.1
aide
SUSE:HPE Helion OpenStack 8
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:OpenStack Cloud 8
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:OpenStack Cloud 9
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:OpenStack Cloud Crowbar 8
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:OpenStack Cloud Crowbar 9
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server 12 SP2-BCL
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server 12 SP3-BCL
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server 12 SP5
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 0.16-20.15.1
0.16-20.15.1
aide
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server 15-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server 15 SP1-BCL
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server 15 SP2-BCL
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server for SAP Applications 15
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 0.16-24.1
0.16-24.1
aide
SUSE:Manager Proxy 4.1
before 0.16-24.1
0.16-24.1
aide
SUSE:Manager Retail Branch Server 4.1
before 0.16-24.1
0.16-24.1
aide
SUSE:Manager Server 4.1
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Micro 5.1
before 0.16-24.1
0.16-24.1
aide
SUSE:Enterprise Storage 6
before 0.16-24.1
0.16-24.1
aide
SUSE:Enterprise Storage 7
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Real Time 15 SP2
before 0.16-24.1
0.16-24.1
aide
SUSE:Linux Enterprise Point of Sale 11 SP3
before 0.13.1-40.16.6.1
0.13.1-40.16.6.1
aide
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 0.13.1-40.16.6.1
0.13.1-40.16.6.1
aide
Ubuntu:Pro:14.04:LTS
before 0.16~a2.git20130520-2ubuntu0.1+esm1, plus listed versions
0.15.1-8ubuntu20.16~a2.git20130520-20.16~a2.git20130520-2ubuntu0.1
0.16~a2.git20130520-2ubuntu0.1+esm1
aide
Ubuntu:Pro:16.04:LTS
before 0.16~a2.git20130520-3ubuntu0.1~esm1, plus listed versions
0.16~a2.git20130520-3
0.16~a2.git20130520-3ubuntu0.1~esm1
aide
Ubuntu:18.04:LTS
before 0.16-3ubuntu0.1, plus listed versions
0.16-10.16-20.16-3
0.16-3ubuntu0.1
aide
Ubuntu:20.04:LTS
before 0.16.1-1ubuntu0.1, plus listed versions
0.16.1-1build2
0.16.1-1ubuntu0.1
seamonkey
openSUSE:Leap 15.3
before 2.53.12-lp153.17.8.2
2.53.12-lp153.17.8.2
aide
openSUSE:Leap 15.3
before 0.16-24.1
0.16-24.1
aide
openSUSE:Tumbleweed
before 0.17.4-1.1
0.17.4-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-45417 is a high vulnerability (CVSS 7.8) in Advanced Intrusion Detection Environment Project Intrusion Detection Environment, published January 20, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in aide 0.16-14.el8_5.1.

References

Show 110 moreShow less
MoveEnter Open