CVE-2015-8984
published 2017-03-20CVE-2015-8984: The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application…
PriorityP422medium5.9CVSS 3.0
AVNACHPRNUINSUCNINAH
EPSS
2.43%
82.5th percentile
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.22-1 (bookworm) | glibc 2.22-1 (bookworm) |
| debian | glibc | < glibc 2.21-1 (bookworm) | glibc 2.21-1 (bookworm) |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.10 | 2.19-0ubuntu6.10 |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.11 | 2.19-0ubuntu6.11 |
| gnu | glibc | < 2.22 | 2.22 |
| gnu | glibc | <= 2.21 | — |
| gnu | glibc | >= 0 < 2.22-1 | 2.22-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.22-1 | 2.22-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.22-1 | 2.22-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.22-1 | 2.22-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.23-0ubuntu6 | 2.23-0ubuntu6 |
| gnu | glibc | >= 0 < 2.23-0ubuntu7 | 2.23-0ubuntu7 |
CVSS provenance
nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_ubuntu8.1HIGH
vendor_debian5.9MEDIUM
vendor_redhat5.9MEDIUM
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.
Red Hat
glibc: buffer overflow (read past end of buffer) in internal_fnmatch=>end_pattern with "**(!()" pattern
vendor_redhat·2023-06-25·CVSS 5.5
CVE-2015-20109 [MEDIUM] CWE-404 glibc: buffer overflow (read past end of buffer) in internal_fnmatch=>end_pattern with "**(!()" pattern
glibc: buffer overflow (read past end of buffer) in internal_fnmatch=>end_pattern with "**(!()" pattern
end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash), as demonstrated by use of the fnmatch library function with the **(!() pattern. NOTE: this is not the same as CVE-2015-8984; also, some Linux distributions have fixed CVE-2015-8984 but have not fixed this additional fnmatch issue.
A vulnerability was found in the GNU C Library (glibc). The end_pattern (called from internal_fnmatch) might allow context-dependent attackers to cause a denial of service (application crash), as demonstrated by the use of the fnmatch library function with the **(!() pattern.
Ubuntu
GNU C Library regression
vendor_ubuntu·2017-03-24·CVSS 8.1
CVE-2016-3706 [HIGH] GNU C Library regression
Title: GNU C Library regression
Summary: USN-3239-1 introduced a regression in the GNU C Library.
USN-3239-1 fixed vulnerabilities in the GNU C Library. Unfortunately,
the fix for CVE-2016-3706 introduced a regression that in some
circumstances prevented IPv6 addresses from resolving. This update
reverts the change in Ubuntu 12.04 LTS. We apologize for the error.
Original advisory details:
It was discovered that the GNU C Library incorrectly handled the
strxfrm() function. An attacker could use this issue to cause a denial
of service or possibly execute arbitrary code. This issue only affected
Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2015-8982)
It was discovered that an integer overflow existed in the
_IO_wstr_overflow() function of the GNU C Library. An attacker could
use this to
Ubuntu
GNU C Library Regression
vendor_ubuntu·2017-03-21·CVSS 7.5
CVE-2015-5180 [HIGH] GNU C Library Regression
Title: GNU C Library Regression
Summary: USN-3239-1 introduced a regression in the GNU C Library.
USN-3239-1 fixed vulnerabilities in the GNU C Library. Unfortunately,
the fix for CVE-2015-5180 introduced an internal ABI change within
the resolver library. This update reverts the change. We apologize
for the inconvenience.
Please note that long-running services that were restarted to compensate
for the USN-3239-1 update may need to be restarted again.
Original advisory details:
It was discovered that the GNU C Library incorrectly handled the
strxfrm() function. An attacker could use this issue to cause a denial
of service or possibly execute arbitrary code. This issue only affected
Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2015-8982)
It was discovered that an integer overflow exist
Ubuntu
GNU C Library vulnerabilities
vendor_ubuntu·2017-03-21·CVSS 7.5
CVE-2015-5180 [HIGH] GNU C Library vulnerabilities
Title: GNU C Library vulnerabilities
Summary: Several security issues were fixed in the GNU C Library.
It was discovered that the GNU C Library incorrectly handled the
strxfrm() function. An attacker could use this issue to cause a denial
of service or possibly execute arbitrary code. This issue only affected
Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2015-8982)
It was discovered that an integer overflow existed in the
_IO_wstr_overflow() function of the GNU C Library. An attacker could
use this to cause a denial of service or possibly execute arbitrary
code. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04
LTS. (CVE-2015-8983)
It was discovered that the fnmatch() function in the GNU C Library
did not properly handle certain malformed patterns. An attacker could
use this to
Red Hat
glibc: potential denial of service in internal_fnmatch()
vendor_redhat·2015-02-26·CVSS 5.9
CVE-2015-8984 [MEDIUM] glibc: potential denial of service in internal_fnmatch()
glibc: potential denial of service in internal_fnmatch()
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
A flaw was found in the way glibc's fnmatch() function processed certain malformed patterns. An attacker able to make an application call this function could use this flaw to crash that application.
Package: glibc (Red Hat Enterprise Linux 5) - Will not fix
Package: glibc (Red Hat Enterprise Linux 6) - Will not fix
Package: glibc (Red Hat Enterprise Linux 7) - Affected
Debian
CVE-2015-20109: glibc - end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or li...
vendor_debian·2015·CVSS 5.5
CVE-2015-20109 [MEDIUM] CVE-2015-20109: glibc - end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or li...
end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash), as demonstrated by use of the fnmatch library function with the **(!() pattern. NOTE: this is not the same as CVE-2015-8984; also, some Linux distributions have fixed CVE-2015-8984 but have not fixed this additional fnmatch issue.
Scope: local
bookworm: resolved (fixed in 2.22-1)
bullseye: resolved (fixed in 2.22-1)
forky: resolved (fixed in 2.22-1)
sid: resolved (fixed in 2.22-1)
trixie: resolved (fixed in 2.22-1)
Debian
CVE-2015-8984: glibc - The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might...
vendor_debian·2015·CVSS 5.9
CVE-2015-8984 [MEDIUM] CVE-2015-8984: glibc - The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might...
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
Scope: local
bookworm: resolved (fixed in 2.21-1)
bullseye: resolved (fixed in 2.21-1)
forky: resolved (fixed in 2.21-1)
sid: resolved (fixed in 2.21-1)
trixie: resolved (fixed in 2.21-1)
GHSA
GHSA-rf48-x9gm-3vx2: end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2
ghsa_unreviewed·2023-06-25·CVSS 5.9
CVE-2015-20109 [MEDIUM] CWE-120 GHSA-rf48-x9gm-3vx2: end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2
end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash), as demonstrated by use of the fnmatch library function with the **(!() pattern. NOTE: this is not the same as CVE-2015-8984; also, some Linux distributions have fixed CVE-2015-8984 but have not fixed this additional fnmatch issue.
OSV
CVE-2015-20109: end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2
osv·2023-06-25·CVSS 5.5
CVE-2015-20109 [MEDIUM] CVE-2015-20109: end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2
end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash), as demonstrated by use of the fnmatch library function with the **(!() pattern. NOTE: this is not the same as CVE-2015-8984; also, some Linux distributions have fixed CVE-2015-8984 but have not fixed this additional fnmatch issue.
GHSA
GHSA-cpjm-j6p4-7vf4: The fnmatch function in the GNU C Library (aka glibc or libc6) before 2
ghsa_unreviewed·2022-05-17
CVE-2015-8984 [MEDIUM] CWE-125 GHSA-cpjm-j6p4-7vf4: The fnmatch function in the GNU C Library (aka glibc or libc6) before 2
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
OSV
eglibc, glibc vulnerabilities
osv·2017-03-21·CVSS 7.5
CVE-2015-8982 [HIGH] eglibc, glibc vulnerabilities
eglibc, glibc vulnerabilities
It was discovered that the GNU C Library incorrectly handled the
strxfrm() function. An attacker could use this issue to cause a denial
of service or possibly execute arbitrary code. This issue only affected
Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2015-8982)
It was discovered that an integer overflow existed in the
_IO_wstr_overflow() function of the GNU C Library. An attacker could
use this to cause a denial of service or possibly execute arbitrary
code. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04
LTS. (CVE-2015-8983)
It was discovered that the fnmatch() function in the GNU C Library
did not properly handle certain malformed patterns. An attacker could
use this to cause a denial of service. This issue only affected Ubuntu
12.04 LTS and U
OSV
eglibc, glibc regression
osv·2017-03-21·CVSS 7.5
CVE-2015-5180 [HIGH] eglibc, glibc regression
eglibc, glibc regression
USN-3239-1 fixed vulnerabilities in the GNU C Library. Unfortunately,
the fix for CVE-2015-5180 introduced an internal ABI change within
the resolver library. This update reverts the change. We apologize
for the inconvenience.
Please note that long-running services that were restarted to compensate
for the USN-3239-1 update may need to be restarted again.
Original advisory details:
It was discovered that the GNU C Library incorrectly handled the
strxfrm() function. An attacker could use this issue to cause a denial
of service or possibly execute arbitrary code. This issue only affected
Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2015-8982)
It was discovered that an integer overflow existed in the
_IO_wstr_overflow() function of the GNU C Library. An attacker c
OSV
CVE-2015-8984: The fnmatch function in the GNU C Library (aka glibc or libc6) before 2
osv·2017-03-20·CVSS 5.9
CVE-2015-8984 [MEDIUM] CVE-2015-8984: The fnmatch function in the GNU C Library (aka glibc or libc6) before 2
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-8984 glibc: potential denial of service in internal_fnmatch() [fedora-all]
bugzilla·2015-03-02·CVSS 5.9
CVE-2015-8984 [MEDIUM] CVE-2015-8984 glibc: potential denial of service in internal_fnmatch() [fedora-all]
CVE-2015-8984 glibc: potential denial of service in internal_fnmatch() [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.
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 versio
Bugzilla
CVE-2015-8984 glibc: potential denial of service in internal_fnmatch()
bugzilla·2015-03-02·CVSS 5.9
CVE-2015-8984 [MEDIUM] CVE-2015-8984 glibc: potential denial of service in internal_fnmatch()
CVE-2015-8984 glibc: potential denial of service in internal_fnmatch()
It was reported [1] that when processing certain malformed patterns, fnmatch can skip over the NUL byte terminating the pattern. This can potentially result in an application crash if fnmatch hits an unmapped page before encountering a NUL byte.
Upstream bug report:
https://sourceware.org/bugzilla/show_bug.cgi?id=18032
The fix is here:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4a28f4d55a6cc33474c0792fe93b5942d81bf185
[1]: http://seclists.org/oss-sec/2015/q1/689
Discussion:
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 1197732]
---
There are two other related bugs in fnmatch that have been fixed upstream and that need to be backported if 18032 is to be because the test in 18032 d
arXiv
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
arxiv_fulltext·2022-12-29
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
## Abstract
Currently, the development of IoT firmware heavily depends on third-party components (TPCs) to improve development efficiency. Nevertheless, TPCs are not secure, and the vulnerabilities in TPCs will influence the security of IoT firmware. Existing works pay less attention to the vulnerabilities caused by TPCs, and we still lack a comprehensive understanding of the security impact of TPC vulnerability against firmware. To fill in the knowledge gap, we design and implement , which leverages syntactical features and control-flow graph features to detect the TPCs in firmware, and then recognizes the corresponding vulnerabilities. Based on , we present the first l
http://www.openwall.com/lists/oss-security/2015/02/26/5http://www.openwall.com/lists/oss-security/2017/02/14/9http://www.securityfocus.com/bid/72789https://sourceware.org/bugzilla/show_bug.cgi?id=18032https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=4a28f4d55a6cc33474c0792fe93b5942d81bf185https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.htmlhttp://www.openwall.com/lists/oss-security/2015/02/26/5http://www.openwall.com/lists/oss-security/2017/02/14/9http://www.securityfocus.com/bid/72789https://sourceware.org/bugzilla/show_bug.cgi?id=18032https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=4a28f4d55a6cc33474c0792fe93b5942d81bf185https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.html
2017-03-20
Published