CVE-2021-20284 Memory corruption in binutils

Medium 5.5 Published Updated

A heap-based buffer overflow in GNU Binutils allows attackers to cause a denial of service via crafted ELF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-20284?

CVE-2021-20284 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 26 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in GNU Binutils 2.35.1, where there is a heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c due to the number of symbols not calculated correctly. The highest threat from this vulnerability is to system availability.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2021-20284?

It affects 3 products.

Products include Gnu Binutils, Netapp Cloud Backup, Netapp Ontap Select Deploy Administration Utility.

How do I fix CVE-2021-20284?

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-20284 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-20284, GHSA-hm3m-qrrw-pfv7.

Is CVE-2021-20284 in your software?

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

Check your SBOMs for free