Heap-based buffer overflow in AIDE - CVE-2021-45417

 

Heap-based buffer overflow in AIDE - CVE-2021-45417

Published: January 24, 2022


Vulnerability identifier: #VU59952
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-45417
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in src/base64.h. A local user can use specially crafted file metadata, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

AIDE
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE MicroOS
SUSE Enterprise Storage
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)
Red Hat Enterprise Linux Server - Extended Life Cycle Support
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
CentOS
Anolis OS
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
openEuler
aide (Debian package)
redhat-release-virtualization-host (Red Hat package)
redhat-virtualization-host (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
libmetalink (Red Hat package)
aide-debugsource
aide-debuginfo
aide
aide (Red Hat package)
aide (Ubuntu package)
aide-help
app-forensics/aide
wget (Red Hat package)
redhat-virtualization-host-productimg (Red Hat package)
Red Hat Virtualization Host
Red Hat Virtualization
EMC ECS
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Session Smart Router

How to mitigate CVE-2021-45417

Install update from vendor's website.

AIDE - update to 0.17.4
aide (Debian package) - addressed in versions 0.16.1-1+deb10u1, 0.17.3-4+deb11u1
redhat-release-virtualization-host (Red Hat package) - addressed in versions 4.3.22-1.el7ev, 4.4.10-1.el8ev
redhat-virtualization-host (Red Hat package) - update to 4.3.22-20220330.1.el7_9
libmetalink (Red Hat package) - update to 0.1.3-7.el8
aide-debugsource - addressed in versions 0.13.1-40.16.6.1, 0.16-20.15.1, 0.16-24.1
aide-debuginfo - addressed in versions 0.13.1-40.16.6.1, 0.16-20.15.1, 0.16-24.1
aide - addressed in versions 0.13.1-40.16.6.1, 0.16-20.15.1, 0.16-24.1
aide (Red Hat package) - addressed in versions 0.14-11.el6_10.1, 0.15.1-13.el7_9.1, 0.16-11.el8_1.1, 0.16-11.el8_2.1, 0.16-14.el8_4.1, 0.16-14.el8_5.1
aide - addressed in versions 0.15.1-13, 0.16-14
aide (Ubuntu package) - addressed in versions 0.16~a2.git201305203ubuntu0.1~esm1, 0.16.1-1ubuntu0.1, 0.16-3ubuntu0.1, 0.17.3-1ubuntu0.1, 0.17.3-4ubuntu0.1
aide-help - update to 0.16.2-2
aide-debuginfo - update to 0.16.2-2
aide-debugsource - update to 0.16.2-2
aide - update to 0.16.2-2
app-forensics/aide - update to 0.17.4
wget (Red Hat package) - update to 1.19.5-10.el8
EMC ECS - update to 3.7.0.2
redhat-virtualization-host-productimg (Red Hat package) - update to 4.3.22-1.el7
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
Session Smart Router - addressed in versions 5.4.7, 5.5.3

External References

Related Security Bulletins