CVE-2021-45417: Buffer Overflow

Published Jan 17, 2022
·
Updated

A heap-based buffer overflow vulnerability in base64 functions of AIDE, an advanced intrusion detection system. An attacker could crash the program and possibly execute arbitrary code through large (<16k) extended file attributes or ACL. A local user might exploit this flaw for root privilege escalation.

Other sources

A heap-based buffer overflow vulnerability in the base64 functions of AIDE, an advanced intrusion detection system. An attacker could crash the program and possibly execute arbitrary code through large (<16k) extended file attributes or ACL.

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.

Affected Software

25 affected componentsFixes available
redhat/aide<0:0.14-11.el6_10.1
0:0.14-11.el6_10.1
redhat/aide<0:0.15.1-13.el7_9.1
0:0.15.1-13.el7_9.1
redhat/aide<0:0.16-14.el8_5.1
0:0.16-14.el8_5.1
redhat/aide<0:0.16-11.el8_1.1
0:0.16-11.el8_1.1
redhat/aide<0:0.16-11.el8_2.1
0:0.16-11.el8_2.1
redhat/aide<0:0.16-14.el8_4.1
0:0.16-14.el8_4.1
redhat/redhat-virtualization-host<0:4.3.22-20220330.1.el7_9
0:4.3.22-20220330.1.el7_9
debian/aide
0.16.1-1+deb10u10.17.3-4+deb11u20.17.3-4+deb11u10.18.3-1+deb12u20.18.6-2
redhat/aide<0.17.4
0.17.4
Advanced Intrusion Detection Environment Project Advanced Intrusion Detection Environment>=0.13<=0.17.3
redhat Ovirt-node=4.4.10
redhat Virtualization Host=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=35
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=21.04
Canonical Ubuntu Linux=21.10
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Jan 17, 2022
Data Sourced
via Red Hat·01:48 PM
DescriptionSeverityAffected Software
Jan 20, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
Description

Frequently Asked Questions

1

What is the vulnerability ID of this AIDE vulnerability?

The vulnerability ID of this AIDE vulnerability is CVE-2021-45417.

2

What is the severity of CVE-2021-45417?

The severity of CVE-2021-45417 is high with a severity value of 7.

3

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability by using crafted file metadata to cause a heap-based buffer overflow in the base64 functions of AIDE.

4

What is the potential impact of this vulnerability?

The potential impact of this vulnerability is that an attacker could crash the program and potentially execute arbitrary code.

5

How do I fix CVE-2021-45417?

To fix CVE-2021-45417, you should update AIDE to version 0.17.4 or apply the appropriate remedy provided by your software vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203