Amazon Linux 2 : gcc10-binutils (ALAS-2021-1702)

high Nessus Plugin ID 153420

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of gcc10-binutils installed on the remote host is prior to 2.35-21. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2021-1702 advisory.

2024-01-19: CVE-2021-20284 was added to this advisory.

An issue was discovered 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 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. (CVE-2021-20284)

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update gcc10-binutils' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1702.html

https://alas.aws.amazon.com/cve/html/CVE-2020-35448.html

https://alas.aws.amazon.com/cve/html/CVE-2021-20284.html

https://alas.aws.amazon.com/cve/html/CVE-2021-20294.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3487.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 153420

File Name: al2_ALAS-2021-1702.nasl

Version: 1.6

Type: local

Agent: unix

Published: 9/16/2021

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-20294

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:gcc10-binutils-devel, p-cpe:/a:amazon:linux:gcc10-binutils, p-cpe:/a:amazon:linux:gcc10-binutils-gold, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:gcc10-binutils-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/8/2021

Vulnerability Publication Date: 12/27/2020

Reference Information

CVE: CVE-2020-35448, CVE-2021-20284, CVE-2021-20294, CVE-2021-3487

ALAS: 2021-1702