CVE-2017-15670
published 2017-10-20CVE-2017-15670: The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related…
PriorityP346critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
2.98%
85.8th percentile
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.25-3 (bookworm) | glibc 2.25-3 (bookworm) |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.14 | 2.19-0ubuntu6.14 |
| gnu | glibc | <= 2.26 | — |
| gnu | glibc | >= 0 < 2.25-3 | 2.25-3 |
| gnu | glibc | >= 0 < 2.25-3 | 2.25-3 |
| gnu | glibc | >= 0 < 2.25-3 | 2.25-3 |
| gnu | glibc | >= 0 < 2.25-3 | 2.25-3 |
| gnu | glibc | >= 0 < 2.23-0ubuntu10 | 2.23-0ubuntu10 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
vendor_ubuntu7.8HIGH
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-h2gh-x43j-97v2: The GNU C Library (aka glibc or libc6) before 2
ghsa_unreviewed·2022-05-14
CVE-2017-15670 [CRITICAL] CWE-119 GHSA-h2gh-x43j-97v2: The GNU C Library (aka glibc or libc6) before 2
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
OSV
eglibc, glibc vulnerabilities
osv·2018-01-17·CVSS 7.8
CVE-2018-1000001 [HIGH] eglibc, glibc vulnerabilities
eglibc, glibc vulnerabilities
It was discovered that the GNU C library did not properly handle all of
the possible return values from the kernel getcwd(2) syscall. A local
attacker could potentially exploit this to execute arbitrary code in setuid
programs and gain administrative privileges. (CVE-2018-1000001)
A memory leak was discovered in the _dl_init_paths() function in the GNU
C library dynamic loader. A local attacker could potentially exploit this
with a specially crafted value in the LD_HWCAP_MASK environment variable,
in combination with CVE-2017-1000409 and another vulnerability on a system
with hardlink protections disabled, in order to gain administrative
privileges. (CVE-2017-1000408)
A heap-based buffer overflow was discovered in the _dl_init_paths()
function in the GNU C
OSV
CVE-2017-15670: The GNU C Library (aka glibc or libc6) before 2
osv·2017-10-20·CVSS 9.8
CVE-2017-15670 [CRITICAL] CVE-2017-15670: The GNU C Library (aka glibc or libc6) before 2
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
Ubuntu
GNU C Library vulnerabilities
vendor_ubuntu·2018-01-17·CVSS 7.8
CVE-2017-1000408 [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 did not properly handle all of
the possible return values from the kernel getcwd(2) syscall. A local
attacker could potentially exploit this to execute arbitrary code in setuid
programs and gain administrative privileges. (CVE-2018-1000001)
A memory leak was discovered in the _dl_init_paths() function in the GNU
C library dynamic loader. A local attacker could potentially exploit this
with a specially crafted value in the LD_HWCAP_MASK environment variable,
in combination with CVE-2017-1000409 and another vulnerability on a system
with hardlink protections disabled, in order to gain administrative
privileges. (CVE-2017-1000408)
A heap-based buf
Red Hat
glibc: Buffer overflow in glob with GLOB_TILDE
vendor_redhat·2017-10-19·CVSS 9.8
CVE-2017-15670 [CRITICAL] CWE-122 glibc: Buffer overflow in glob with GLOB_TILDE
glibc: Buffer overflow in glob with GLOB_TILDE
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
Package: compat-glibc (Red Hat Enterprise Linux 5) - Will not fix
Package: glibc (Red Hat Enterprise Linux 5) - Will not fix
Package: compat-glibc (Red Hat Enterprise Linux 6) - Will not fix
Package: compat-glibc (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-15670: glibc - The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error ...
vendor_debian·2017·CVSS 9.8
CVE-2017-15670 [CRITICAL] CVE-2017-15670: glibc - The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error ...
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
Scope: local
bookworm: resolved (fixed in 2.25-3)
bullseye: resolved (fixed in 2.25-3)
forky: resolved (fixed in 2.25-3)
sid: resolved (fixed in 2.25-3)
trixie: resolved (fixed in 2.25-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-15670 CVE-2017-15671 glibc: various flaws [fedora-all]
bugzilla·2017-10-20·CVSS 9.8
CVE-2017-15670 [CRITICAL] CVE-2017-15670 CVE-2017-15671 glibc: various flaws [fedora-all]
CVE-2017-15670 CVE-2017-15671 glibc: 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 versions of Fedora. Wh
Bugzilla
CVE-2017-15670 glibc: Buffer overflow in glob with GLOB_TILDE
bugzilla·2017-10-20·CVSS 9.8
CVE-2017-15670 [CRITICAL] CVE-2017-15670 glibc: Buffer overflow in glob with GLOB_TILDE
CVE-2017-15670 glibc: Buffer overflow in glob with GLOB_TILDE
A buffer overflow vulnerability caused by an off-by-one error was found in glibc. It is possible that an attacker might use this to escalate his privileges or execute code.
Upstream patch:
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=2d1bd71ec70a31b01d01b734faa66bb1ed28961f
Upstream issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=22320
Discussion:
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 1504807]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2018:0805 https://access.redhat.com/errata/RHSA-2018:0805
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2018:1879 https://access.
http://www.securityfocus.com/bid/101521https://access.redhat.com/errata/RHSA-2018:0805https://access.redhat.com/errata/RHSA-2018:1879https://sourceware.org/bugzilla/show_bug.cgi?id=22320http://www.securityfocus.com/bid/101521https://access.redhat.com/errata/RHSA-2018:0805https://access.redhat.com/errata/RHSA-2018:1879https://sourceware.org/bugzilla/show_bug.cgi?id=22320
2017-10-20
Published