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

Bug 672904 (CVE-2018-20002)

Summary: <sys-devel/binutils-2.31.1-r5: memory leak in _bfd_generic_read_minisymbols
Product: Gentoo Security Reporter: D'juan McDonald (domhnall) <flopwiki>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=23952
Whiteboard: A3 [glsa+ cve]
Package list:
Runtime testing required: ---

Description D'juan McDonald (domhnall) 2018-12-10 22:08:46 UTC
A memory leak issue was discovered in bfd, as distributed in GNU Binutils 2.31. 
In _bfd_generic_read_minisymbols function in syms.c, the is a heap allocation. But this heap allocation didn't deallocate in the end.

PR: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c2f5dc30afa34696f2da0081c4ac50b958ecb0e9


@maintainer(s): Fixed on master, Milestone is 2.32 release.


Gentoo Security Padawan
(domhnall)
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2019-03-24 21:14:02 UTC
will be in 2.31.1 patchlevel 6
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2019-06-06 14:29:58 UTC
All affected versions are gone or masked. @security please proceed.
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2019-08-03 11:23:37 UTC
This issue was resolved and addressed in
 GLSA 201908-01 at https://security.gentoo.org/glsa/201908-01
by GLSA coordinator Aaron Bauman (b-man).