CVE-2018-7642
published 2018-03-02CVE-2018-7642: The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote…
PriorityP419medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.92%
77.7th percentile
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | binutils | < binutils 2.30-6 (bookworm) | binutils 2.30-6 (bookworm) |
| gnu | binutils | — | — |
| gnu | binutils | >= 0 < 2.30-6 | 2.30-6 |
| gnu | binutils | >= 0 < 2.30-6 | 2.30-6 |
| gnu | binutils | >= 0 < 2.30-6 | 2.30-6 |
| gnu | binutils | >= 0 < 2.30-6 | 2.30-6 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-m75f-wcjq-49mw: The swap_std_reloc_in function in aoutx
ghsa_unreviewed·2022-05-13
CVE-2018-7642 [MEDIUM] CWE-476 GHSA-m75f-wcjq-49mw: The swap_std_reloc_in function in aoutx
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
OSV
CVE-2018-7642: The swap_std_reloc_in function in aoutx
osv·2018-03-02·CVSS 5.5
CVE-2018-7642 [MEDIUM] CVE-2018-7642: The swap_std_reloc_in function in aoutx
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
Ubuntu
GNU binutils vulnerabilities
vendor_ubuntu·2021-07-21
CVE-2018-19932 GNU binutils vulnerabilities
Title: GNU binutils vulnerabilities
Summary: Several security issues were fixed in GNU binutils.
USN-4336-1 fixed several vulnerabilities in GNU binutils. This update provides
the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
It was discovered that GNU binutils contained a large number of security
issues. If a user or automated system were tricked into processing a
specially-crafted file, a remote attacker could cause GNU binutils to
crash, resulting in a denial of service, or possibly execute arbitrary
code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
vendor_redhat·2018-07-12·CVSS 5.5
CVE-2018-14038 [MEDIUM] CWE-400 libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
No description is available for this CVE.
Statement: This flaw was found to be a duplicate of CVE-2018-7642. Please see https://access.redhat.com/security/cve/CVE-2018-7642 for information about affected products and security errata.
Package: binutils (Red Hat Enterprise Linux 5) - Not affected
Package: gdb (Red Hat Enterprise Linux 5) - Not affected
Package: binutils (Red Hat Enterprise Linux 6) - Not affected
Package: gdb (Red Hat Enterprise Linux 6) - Not affected
Package: binutils (Red Hat Enterprise Linux 7) - Not affected
Package: gdb (Red Hat Enterprise Linux 7) - Not affected
Package: binutils (Red Hat Enterprise Linux 8) - Not affected
Package: gdb (Red Hat Enterprise Linux 8) - Not aff
Red Hat
binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
vendor_redhat·2018-02-24·CVSS 5.5
CVE-2018-7642 [MEDIUM] CWE-476 binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
Package: binutils (Red Hat Enterprise Linux 5) - Will not fix
Package: binutils220 (Red Hat Enterprise Linux 5) - Will not fix
Package: binutils (Red Hat Enterprise Linux 6) - Will not fix
Package: binutils (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-7642: binutils - The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) li...
vendor_debian·2018·CVSS 5.5
CVE-2018-7642 [MEDIUM] CVE-2018-7642: binutils - The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) li...
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
Scope: local
bookworm: resolved (fixed in 2.30-6)
bullseye: resolved (fixed in 2.30-6)
forky: resolved (fixed in 2.30-6)
sid: resolved (fixed in 2.30-6)
trixie: resolved (fixed in 2.30-6)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-14038 libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
bugzilla·2019-03-08·CVSS 5.5
CVE-2018-14038 [MEDIUM] CVE-2018-14038 libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
CVE-2018-14038 libbfd: remote dos via crafted file in function aout_32_swap_std_reloc_out in aoutx.h
The aout_32_swap_std_reloc_out function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils before 2.31, allows remote attackers to cause a denial of service (segmentation fault and application crash) via a crafted file, as demonstrated by objcopy.
References:
http://git.hunter-ht.cn/zhanggen/objcopy_crash_input_1
https://sourceware.org/bugzilla/show_bug.cgi?id=23405
Discussion:
Created binutils tracking bugs for this issue:
Affects: fedora-all [bug 1686782]
---
This appears to be a duplicate of bug 1553115 (CVE-2018-7642) according to upstream.
Also, this can be seen by looking at the stack traces, which are the same:
```
Program rece
Bugzilla
CVE-2018-7642 binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
bugzilla·2018-03-08·CVSS 5.5
CVE-2018-7642 [MEDIUM] CVE-2018-7642 binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
CVE-2018-7642 binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
Upstream issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=22887
Upstream patches:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=116acb2c268c89c89186673a7c92620d21825b25
Discussion:
Created binutils tracking bugs for this issue:
Affects: fedora-all [bug 1551786]
Created mingw-binutils tracking bugs for this issue:
Affects: epel-all [bug 1551787]
--
Bugzilla
CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 mingw-binutils: various flaws [epel-all]
bugzilla·2018-03-05·CVSS 5.5
CVE-2018-7570 [MEDIUM] CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 mingw-binutils: various flaws [epel-all]
CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 mingw-binutils: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versi
Bugzilla
CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 binutils: various flaws [fedora-all]
bugzilla·2018-03-05·CVSS 5.5
CVE-2018-7570 [MEDIUM] CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 binutils: various flaws [fedora-all]
CVE-2018-7570 CVE-2018-7642 CVE-2018-7643 binutils: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported version
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.htmlhttps://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2018:3032https://security.gentoo.org/glsa/201811-17https://sourceware.org/bugzilla/show_bug.cgi?id=22887https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=116acb2c268c89c89186673a7c92620d21825b25http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.htmlhttps://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2018:3032https://security.gentoo.org/glsa/201811-17https://sourceware.org/bugzilla/show_bug.cgi?id=22887https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=116acb2c268c89c89186673a7c92620d21825b25
2018-03-02
Published