CVE-2015-8982
published 2017-03-15CVE-2015-8982: Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service…
PriorityP341high8.1CVSS 3.0
AVNACHPRNUINSUCHIHAH
EPSS
3.80%
88.8th percentile
Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 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.20 | — |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-1 |
| gnu | glibc | >= 0 < 2.21-1 | 2.21-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.08.1HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.1HIGH
vendor_debian8.1HIGH
vendor_redhat8.1HIGH
vendor_ubuntu8.1HIGH
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
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: multiple overflows in strxfrm()
vendor_redhat·2015-02-13·CVSS 8.1
CVE-2015-8982 [HIGH] CWE-190 glibc: multiple overflows in strxfrm()
glibc: multiple overflows in strxfrm()
Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.
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-8982: glibc - Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc...
vendor_debian·2015·CVSS 8.1
CVE-2015-8982 [HIGH] CVE-2015-8982: glibc - Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc...
Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.
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-qw97-54gm-4j6w: Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2
ghsa_unreviewed·2022-05-13
CVE-2015-8982 [HIGH] CWE-190 GHSA-qw97-54gm-4j6w: Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2
Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.
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-8982: Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2
osv·2017-03-15·CVSS 8.1
CVE-2015-8982 [HIGH] CVE-2015-8982: Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2
Integer overflow in the strxfrm function in the GNU C Library (aka glibc or libc6) before 2.21 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-8982 glibc: multiple overflows in strxfrm()
bugzilla·2015-02-13·CVSS 7.5
CVE-2015-8982 [HIGH] CVE-2015-8982 glibc: multiple overflows in strxfrm()
CVE-2015-8982 glibc: multiple overflows in strxfrm()
Integer overflow when computing memory allocation sizes (similar to CVE-2012-4412) was reported [1] in glibc strxfrm() function. Attached strxfrm-int32.c should trigger this issue on a 32-bit systems.
Additionally, it was discovered [1] that strxfrm() falls back to an unbounded alloca if malloc fails making it vulnerable to stack-based buffer overflows (similar to CVE-2012-4424). Attached strxfrm-alloca.c should trigger this issue.
Upstream commit that fixes all issues:
http://seclists.org/oss-sec/2015/q1/540
[1]: http://seclists.org/oss-sec/2015/q1/540
Discussion:
Created attachment 991416
strxfrm-alloca.c
---
Created attachment 991417
strxfrm-int32.c
---
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 119
Bugzilla
CVE-2015-8982 glibc: multiple overflows in strxfrm() [fedora-all]
bugzilla·2015-02-13·CVSS 8.1
CVE-2015-8982 [HIGH] CVE-2015-8982 glibc: multiple overflows in strxfrm() [fedora-all]
CVE-2015-8982 glibc: multiple overflows in strxfrm() [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 versions of Fedora. Whil
http://www.openwall.com/lists/oss-security/2015/02/13/3http://www.openwall.com/lists/oss-security/2017/02/14/9http://www.securityfocus.com/bid/72602https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://sourceware.org/bugzilla/show_bug.cgi?id=16009https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=0f9e585480edhttp://www.openwall.com/lists/oss-security/2015/02/13/3http://www.openwall.com/lists/oss-security/2017/02/14/9http://www.securityfocus.com/bid/72602https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://sourceware.org/bugzilla/show_bug.cgi?id=16009https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=0f9e585480ed
2017-03-15
Published