Rocky Linux 8 : binutils (RLSA-2021:4364)

medium Nessus Plugin ID 184618

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2021:4364 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)

- There is an open race window when writing output in the following utilities in GNU binutils version 2.35 and earlier:ar, objcopy, strip, ranlib. When these utilities are run as a privileged user (presumably as part of a script updating binaries across different users), an unprivileged user can trick these utilities into getting ownership of arbitrary files through a symlink. (CVE-2021-20197)

- 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)

- There's a flaw in the BFD library of binutils in versions before 2.36. 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)

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

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2021:4364

https://bugzilla.redhat.com/show_bug.cgi?id=1913743

https://bugzilla.redhat.com/show_bug.cgi?id=1924068

https://bugzilla.redhat.com/show_bug.cgi?id=1930988

https://bugzilla.redhat.com/show_bug.cgi?id=1935785

https://bugzilla.redhat.com/show_bug.cgi?id=1937784

https://bugzilla.redhat.com/show_bug.cgi?id=1946518

https://bugzilla.redhat.com/show_bug.cgi?id=1946977

https://bugzilla.redhat.com/show_bug.cgi?id=1947111

https://bugzilla.redhat.com/show_bug.cgi?id=1950478

https://bugzilla.redhat.com/show_bug.cgi?id=1969775

Plugin Details

Severity: Medium

ID: 184618

File Name: rocky_linux_RLSA-2021-4364.nasl

Version: 1.0

Type: local

Published: 11/6/2023

Updated: 11/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2020-35448

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.7

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

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

CVSS Score Source: CVE-2021-20197

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:binutils, p-cpe:/a:rocky:linux:binutils-debuginfo, p-cpe:/a:rocky:linux:binutils-debugsource, p-cpe:/a:rocky:linux:binutils-devel, cpe:/o:rocky:linux:8

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/9/2021

Vulnerability Publication Date: 12/27/2020

Reference Information

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