Out-of-bounds write in Binutils - CVE-2021-3549

 

Out-of-bounds write in Binutils - CVE-2021-3549

Published: January 7, 2022


Vulnerability identifier: #VU59295
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3549
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error in the objdump utility. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write by passing a large section to avr_elf32_load_records_from_section() function and execute arbitrary code on the target system.


Affected software

Binutils
Gentoo Linux
openEuler
IBM Netezza Analytics
binutils
binutils-debugsource
binutils-help
binutils-devel
binutils-debuginfo
sys-devel/binutils
sys-libs/binutils-libs

How to mitigate CVE-2021-3549

Install updates from vendor's website.

Binutils - update to 2.37
IBM Netezza Analytics - update to 3.3.10
binutils - update to 2.34-11
binutils-debugsource - update to 2.34-11
binutils-help - update to 2.34-11
binutils-devel - update to 2.34-11
binutils-debuginfo - update to 2.34-11
sys-devel/binutils - update to 2.38
sys-libs/binutils-libs - update to 2.38

External References

Related Security Bulletins