CVE-2018-18521
published 2018-10-19CVE-2018-18521: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service…
PriorityP416medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.82%
76.6th percentile
Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | elfutils | < elfutils 0.175-1 (bookworm) | elfutils 0.175-1 (bookworm) |
| elfutils_project | elfutils | — | — |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.175-1 | 0.175-1 |
| elfutils_project | elfutils | >= 0 < 0.176-1.1ubuntu0.1 | 0.176-1.1ubuntu0.1 |
| elfutils_project | elfutils | >= 0 < 0.158-0ubuntu5.3+esm1 | 0.158-0ubuntu5.3+esm1 |
| elfutils_project | elfutils | >= 0 < 0.165-3ubuntu1.2+esm1 | 0.165-3ubuntu1.2+esm1 |
| elfutils_project | elfutils | >= 0 < 0.170-0.4ubuntu0.1+esm1 | 0.170-0.4ubuntu0.1+esm1 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/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.5LOW
vendor_redhat5.5MEDIUM
vendor_ubuntu5.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.
Ubuntu
elfutils vulnerabilities
vendor_ubuntu·2023-08-30·CVSS 5.5
CVE-2021-33294 [MEDIUM] elfutils vulnerabilities
Title: elfutils vulnerabilities
Summary: Several security issues were fixed in elfutils.
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS. (CVE-2018-16062, CVE-2018-16403, CVE-2018-18310,
CVE-2018-18520, CVE-2018-18521, CVE-2019-7149, CVE-2019-7150,
CVE-2019-7665)
It was discovered that elfutils incorrectly handled bounds checks in
certain functions when processing malformed files. If a user or automated
system were tricked into processing a specially crafted file, elfutils
could be made to crash or consume resources, resulting in a denial of
servi
Ubuntu
elfutils vulnerabilities
vendor_ubuntu·2019-06-10
CVE-2018-16062 elfutils vulnerabilities
Title: elfutils vulnerabilities
Summary: Several security issues were fixed in elfutils.
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
vendor_redhat·2018-10-17·CVSS 5.5
CVE-2018-18521 [MEDIUM] CWE-369 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
Statement: This issue affects the versions of elfutils as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Red Hat Enterprise Linux 6 is now in Maintenance Sup
Debian
CVE-2018-18521: elfutils - Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in...
vendor_debian·2018·CVSS 5.5
CVE-2018-18521 [MEDIUM] CVE-2018-18521: elfutils - Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in...
Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
Scope: local
bookworm: resolved (fixed in 0.175-1)
bullseye: resolved (fixed in 0.175-1)
forky: resolved (fixed in 0.175-1)
sid: resolved (fixed in 0.175-1)
trixie: resolved (fixed in 0.175-1)
OSV
elfutils vulnerabilities
osv·2023-08-30·CVSS 5.5
CVE-2018-16062 [MEDIUM] elfutils vulnerabilities
elfutils vulnerabilities
It was discovered that elfutils incorrectly handled certain malformed
files. If a user or automated system were tricked into processing a
specially crafted file, elfutils could be made to crash or consume
resources, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS. (CVE-2018-16062, CVE-2018-16403, CVE-2018-18310,
CVE-2018-18520, CVE-2018-18521, CVE-2019-7149, CVE-2019-7150,
CVE-2019-7665)
It was discovered that elfutils incorrectly handled bounds checks in
certain functions when processing malformed files. If a user or automated
system were tricked into processing a specially crafted file, elfutils
could be made to crash or consume resources, resulting in a denial of
service. (CVE-2020-21047, CVE-2021-33294)
GHSA
GHSA-ghq7-pw5q-f2jw: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib
ghsa_unreviewed·2022-05-13
CVE-2018-18521 [MEDIUM] CWE-369 GHSA-ghq7-pw5q-f2jw: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib
Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
OSV
CVE-2018-18521: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib
osv·2018-10-19·CVSS 5.5
CVE-2018-18521 [MEDIUM] CVE-2018-18521: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib
Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c [fedora-all]
bugzilla·2018-11-05·CVSS 5.5
CVE-2018-18521 [MEDIUM] CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c [fedora-all]
CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c [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 su
Bugzilla
CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
bugzilla·2018-11-05·CVSS 5.5
CVE-2018-18521 [MEDIUM] CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
CVE-2018-18521 elfutils: Divide-by-zero in arlib_add_symbols function in arlib.c
A flaw was found in elfutils 0.174. A Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
References:
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00055.html
Upstream Patch:
https://sourceware.org/git/?p=elfutils.git;a=commit;h=2b16a9be69939822dcafe075413468daac98b327
Discussion:
Created elfutils tracking bugs for this issue:
Affects: fedora-all [bug 1646483]
---
Note that this only impacts the eu-ar and eu-ranlib binaries. Only those two share the ar
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlhttps://access.redhat.com/errata/RHSA-2019:2197https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlhttps://sourceware.org/bugzilla/show_bug.cgi?id=23786https://sourceware.org/ml/elfutils-devel/2018-q4/msg00055.htmlhttps://usn.ubuntu.com/4012-1/http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.htmlhttps://access.redhat.com/errata/RHSA-2019:2197https://lists.debian.org/debian-lts-announce/2019/02/msg00036.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00030.htmlhttps://sourceware.org/bugzilla/show_bug.cgi?id=23786https://sourceware.org/ml/elfutils-devel/2018-q4/msg00055.htmlhttps://usn.ubuntu.com/4012-1/
2018-10-19
Published