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.

- 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 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. (CVE-2021-20294)

- Rejected reason: Non Security Issue. See the binutils security policy for more details, https://sourceware.org/cgit/binutils-gdb/tree/binutils/SECURITY.txt (CVE-2021-3487)

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.5

Type: local

Agent: unix

Published: 9/16/2021

Updated: 1/23/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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, p-cpe:/a:amazon:linux:gcc10-binutils-debuginfo, p-cpe:/a:amazon:linux:gcc10-binutils-devel, p-cpe:/a:amazon:linux:gcc10-binutils-gold, cpe:/o:amazon:linux:2

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