605
VMScore

CVE-2021-20294

Published: 29/04/2021 Updated: 07/11/2023
CVSS v2 Base Score: 6.8 | Impact Score: 6.4 | Exploitability Score: 8.6
CVSS v3 Base Score: 7.8 | Impact Score: 5.9 | Exploitability Score: 1.8
VMScore: 605
Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Summary

An issue exists in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.35.1. A heap-based buffer over-read can occur in bfd_getl_signed_32 in libbfd.c because sh_entsize is not validated in _bfd_elf_slurp_secondary_reloc_section in elf.c. (CVE-2020-35448) A flaw was found in binutils' readelf program. An attacker who is able to convince a victim using readelf to read a crafted file, could trigger a stack buffer overflow, out-of-bounds write of arbitrary data supplied by the attacker. The highest impact of this flaw is to confidentiality, integrity, and availability. (CVE-2021-20294) There's a flaw in the BFD library of binutils. An attacker who supplies a crafted file to an application linked with BFD, and using the DWARF functionality, could cause an impact to system availability by way of excessive memory consumption. (CVE-2021-3487)

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

gnu binutils

Vendor Advisories

An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2351 A heap-based buffer over-read can occur in bfd_getl_signed_32 in libbfdc because sh_entsize is not validated in _bfd_elf_slurp_secondary_reloc_section in elfc (CVE-2020-35448) A flaw was found in binutils' readelf program An ...
A security issue was found in binutils before version 236 It allows attackers to cause a denial of service (stack buffer overflow) or possibly have unspecified other impacts via a crafted ELF file ...

Github Repositories

Simple CVE-2021-20294 poc

CVE-2021-20294-POC Jan 21 2023, Altin (tin-z), githubcom/tin-z Poc download and compile wget ftpgnuorg/gnu/binutils/binutils-235targz && tar -xzvf binutils-235targz cd binutils-235 && /configure && make && cd gcc -shared -fPIC pocc -o pocso -Wl,--version-script=pocver