Bug 1435244 (CVE-2017-7223)

Summary: CVE-2017-7223 binutils: Global buffer overflow when attempting to unget EOF character
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, fedora-mingw, jakub, klember, ktietz, law, nickc, ohudlick, rjones, yselkowi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:09:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1435307, 1435308, 1435309    
Bug Blocks:    

Description Adam Mariš 2017-03-23 12:55:58 UTC
GNU assembler in GNU Binutils 2.27 is vulnerable to a global buffer overflow (of size 1) while attempting to unget an EOF character from the input stream, potentially leading to a program crash.

Upstream bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=20898

Upstream patch:

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

Comment 1 Nick Clifton 2017-03-23 13:08:59 UTC
(In reply to Adam Mariš from comment #0)
> GNU assembler in GNU Binutils 2.28 is vulnerable to a global buffer overflow

I think that you mean GNU Binutils 2.27.  The bug is fixed in 2.28...

Comment 2 Adam Mariš 2017-03-23 14:13:52 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1435308]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1435309]
Affects: fedora-all [bug 1435307]

Comment 3 Adam Mariš 2017-03-24 13:49:13 UTC
(In reply to Nick Clifton from comment #1)
> (In reply to Adam Mariš from comment #0)
> > GNU assembler in GNU Binutils 2.28 is vulnerable to a global buffer overflow
> 
> I think that you mean GNU Binutils 2.27.  The bug is fixed in 2.28...

I took this description from MITRE and version in which the bug was found in the upstream bug is set to 2.28 as well.

I'll change it, thanks.