Bug 7084

Summary: binutils: CVE-2014-8484 CVE-2014-8485 CVE-2014-8501 CVE-2014-8502 CVE-2014-8503 CVE-2014-8504 CVE-2014-8737
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: devtools / tool chainAssignee: Armin Kuster <akuster>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: major    
Priority: Medium+ CC: alexandru.c.georgescu, bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 1.8   
Target Milestone: 1.8 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Armin Kuster 2014-12-16 00:44:13 UTC
several Binutils security issues.

CVE-2014-8484:
 The srec_scan function in bfd/srec.c in libdbfd in GNU binutils before 2.25
allows remote attackers to cause a denial of service (out-of-bounds read) via a
small S-record.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bd25671c6f202c4a5108883caa2adb24ff6f361f

CVE-2014-8485:
The setup_group function in bfd/elf.c in libbfd in GNU binutils 2.24 and
earlier allows remote attackers to cause a denial of service (crash) and
possibly execute arbitrary code via crafted section group headers in an ELF
file. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=493a33860c71cac998f1a56d6d87d6faa801fbaa 

CVE-2014-8501
The _bfd_XXi_swap_aouthdr_in function in bfd/peXXigen.c in GNU binutils 2.24
and earlier allows remote attackers to cause a denial of service (out-of-bounds
write) and possibly have other unspecified impact via a crafted
NumberOfRvaAndSizes field in the AOUT header in a PE executable. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e1e19887abd24aeb15066b141cdff5541e0ec8e

CVE-2014-8502
Heap-based buffer overflow in the pe_print_edata function in bfd/peXXigen.c in
GNU binutils 2.24 and earlier allows remote attackers to cause a denial of
service (crash) and possibly have other unspecified impact via a truncated
export table in a PE file. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5a4b0ccc20ba30caef53b01bee2c0aaa5b855339


CVE-2014-8503
Stack-based buffer overflow in the ihex_scan function in bfd/ihex.c in GNU
binutils 2.24 and earlier allows remote attackers to cause a denial of service
(crash) and possibly have other unspecified impact via a crafted ihex file. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=0102ea8cec5fc509bba6c91df61b7ce23a799d32

CVE-2014-8504
Stack-based buffer overflow in the srec_scan function in bfd/srec.c in GNU
binutils 2.24 and earlier allows remote attackers to cause a denial of service
(crash) and possibly have other unspecified impact via a crafted file. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=708d7d0d11f0f2d776171979aa3479e8e12a38a0

CVE-2014-8737
Multiple directory traversal vulnerabilities in GNU binutils 2.24 and earlier
allow local users to delete arbitrary files via a .. (dot dot) or full path
name in an archive to (1) strip or (2) objcopy or create arbitrary files via
(3) a .. (dot dot) or full path name in an archive to ar. 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd9b91de2149ee81d47f708e7b0bbf57da10ad42
Comment 1 Armin Kuster 2014-12-16 00:45:18 UTC
I will address these after I post glibc fixes.
Comment 2 Armin Kuster 2014-12-24 18:39:23 UTC
started working on this today.
Comment 3 Armin Kuster 2014-12-25 00:52:02 UTC
backported patches. running local buildds now
Comment 4 Armin Kuster 2014-12-26 16:58:28 UTC
pushed changes to 
poky-contrib akuster/binutils


The following changes since commit c73a6ca2a82ee1961ede453f6c86937ce3695a0a:

  boost : Add the atomic and chrono libraries to the build. (2014-12-25 22:05:43 +0000)

are available in the git repository at:

  http://git.yoctoproject.org/git/poky-contrib akuster/binutils
  http://git.yoctoproject.org/cgit.cgi//log/?h=akuster/binutils
Comment 6 Armin Kuster 2015-03-28 04:28:14 UTC
this has been in for a while. who closes this? reporter or QA ?
Comment 7 Alexandru Georgescu 2015-03-30 06:41:24 UTC
(In reply to comment #6)
> this has been in for a while. who closes this? reporter or QA ?

Hi,
QA will verify this.
Comment 8 Alexandru Roman 2015-09-09 07:30:18 UTC
Verified