RedHat: RHSA-2021-4364:03 Moderate: binutils security update
Summary
The binutils packages provide a collection of binary utilities for the
manipulation of object code in various object file formats. It includes the
ar, as, gprof, ld, nm, objcopy, objdump, ranlib, readelf, size, strings,
strip, and addr2line utilities.
Security Fix(es):
* binutils: Excessive debug section size can cause excessive memory
consumption in bfd's dwarf2.c read_section() (CVE-2021-3487)
* binutils: Race window allows users to own arbitrary files
(CVE-2021-20197)
* binutils: Heap-based buffer overflow 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)
* binutils: Heap-based buffer overflow in
_bfd_elf_slurp_secondary_reloc_section in elf.c (CVE-2021-20284)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat
Enterprise Linux 8.5 Release Notes linked from the References section.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2020-35448 https://access.redhat.com/security/cve/CVE-2021-3487 https://access.redhat.com/security/cve/CVE-2021-20197 https://access.redhat.com/security/cve/CVE-2021-20284 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes/
Package List
Red Hat Enterprise Linux AppStream (v. 8):
aarch64:
binutils-debuginfo-2.30-108.el8.aarch64.rpm
binutils-debugsource-2.30-108.el8.aarch64.rpm
binutils-devel-2.30-108.el8.aarch64.rpm
ppc64le:
binutils-debuginfo-2.30-108.el8.ppc64le.rpm
binutils-debugsource-2.30-108.el8.ppc64le.rpm
binutils-devel-2.30-108.el8.ppc64le.rpm
s390x:
binutils-debuginfo-2.30-108.el8.s390x.rpm
binutils-debugsource-2.30-108.el8.s390x.rpm
binutils-devel-2.30-108.el8.s390x.rpm
x86_64:
binutils-debuginfo-2.30-108.el8.i686.rpm
binutils-debuginfo-2.30-108.el8.x86_64.rpm
binutils-debugsource-2.30-108.el8.i686.rpm
binutils-debugsource-2.30-108.el8.x86_64.rpm
binutils-devel-2.30-108.el8.i686.rpm
binutils-devel-2.30-108.el8.x86_64.rpm
Red Hat Enterprise Linux BaseOS (v. 8):
Source:
binutils-2.30-108.el8.src.rpm
aarch64:
binutils-2.30-108.el8.aarch64.rpm
binutils-debuginfo-2.30-108.el8.aarch64.rpm
binutils-debugsource-2.30-108.el8.aarch64.rpm
ppc64le:
binutils-2.30-108.el8.ppc64le.rpm
binutils-debuginfo-2.30-108.el8.ppc64le.rpm
binutils-debugsource-2.30-108.el8.ppc64le.rpm
s390x:
binutils-2.30-108.el8.s390x.rpm
binutils-debuginfo-2.30-108.el8.s390x.rpm
binutils-debugsource-2.30-108.el8.s390x.rpm
x86_64:
binutils-2.30-108.el8.x86_64.rpm
binutils-debuginfo-2.30-108.el8.x86_64.rpm
binutils-debugsource-2.30-108.el8.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for binutils is now available for Red Hat Enterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64
Bugs Fixed
1913743 - CVE-2021-20197 binutils: Race window allows users to own arbitrary files
1924068 - binutils debuginfo misses code for bfd functions
1930988 - Backport breaks building with LTO
1935785 - Linker garbage collection removes weak alias references (possibly "regression" of bz1804325)
1937784 - CVE-2021-20284 binutils: Heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c
1946518 - binutils-2.30-98 are causing go binaries to crash due to segmentation fault on aarch64
1946977 - pthread_join segfaults in stack unwinding
1947111 - CVE-2021-3487 binutils: Excessive debug section size can cause excessive memory consumption in bfd's dwarf2.c read_section()
1950478 - CVE-2020-35448 binutils: Heap-based buffer overflow in bfd_getl_signed_32() in libbfd.c because sh_entsize is not validated in _bfd_elf_slurp_secondary_reloc_section() in elf.c
1969775 - /usr/bin/ld: Dwarf Error: Offset (2487097600) greater than or equal to .debug_str size (571933).