Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688836 (CVE-2019-12972)

Summary: <sys-devel/binutils-2.32: heap-based buffer over-read in _bfd_doprnt in bfd.c (CVE-2019-12972)
Product: Gentoo Security Reporter: D'juan McDonald (domhnall) <flopwiki>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=24689
Whiteboard: A3 [glsa+ masked cve]
Package list:
Runtime testing required: ---

Description D'juan McDonald (domhnall) 2019-06-27 17:23:49 UTC
(https://nvd.nist.gov/vuln/detail/CVE-2019-12972):

An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.32. There is a heap-based buffer over-read in _bfd_doprnt in bfd.c because elf_object_p in elfcode.h mishandles an e_shstrndx section of type SHT_GROUP by omitting a trailing '\0' character.

@maintainer(s): 
fixed on Master via, commit:890f750a3b053532a4b839a2dd6243076de12031, milestone for 2.33 release.


Gentoo Security Padawan
(domhnall)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-20 01:29:57 UTC
Fixed in 2.32, which is masked, and the standard for toolchain packages.
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2020-07-27 00:51:25 UTC
This issue was resolved and addressed in
 GLSA 202007-39 at https://security.gentoo.org/glsa/202007-39
by GLSA coordinator Sam James (sam_c).