Out-of-Bounds Affecting gcc10-binutils-gold package, versions <0:2.35-21.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GCC10BINUTILSGOLD-1702722
  • published27 Sept 2021
  • disclosed29 Apr 2021

Introduced: 29 Apr 2021

CVE-2021-20294  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 gcc10-binutils-gold to version 0:2.35-21.amzn2.0.1 or higher.
This issue was patched in ALAS2-2021-1702.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gcc10-binutils-gold package and not the gcc10-binutils-gold package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in binutils readelf 2.35 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.

CVSS Scores

version 3.1