CVE-2017-1000408
published 2018-02-01CVE-2017-1000408: A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many…
PriorityP341high7.8CVSS 3.0
AVLACLPRLUINSUCHIHAH
EXPLOIT
EPSS
1.45%
70.4th percentile
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.25-5 (bookworm) | glibc 2.25-5 (bookworm) |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.14 | 2.19-0ubuntu6.14 |
| gnu | glibc | — | — |
| gnu | glibc | >= 0 < 2.25-5 | 2.25-5 |
| gnu | glibc | >= 0 < 2.25-5 | 2.25-5 |
| gnu | glibc | >= 0 < 2.25-5 | 2.25-5 |
| gnu | glibc | >= 0 < 2.25-5 | 2.25-5 |
| gnu | glibc | >= 0 < 2.23-0ubuntu10 | 2.23-0ubuntu10 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.
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 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: Memory leak reachable via LD_HWCAP_MASK
vendor_redhat·2017-12-11·CVSS 7.8
CVE-2017-1000408 [HIGH] CWE-400 glibc: Memory leak reachable via LD_HWCAP_MASK
glibc: Memory leak reachable via LD_HWCAP_MASK
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
Statement: This issue did not affect the versions of glibc as shipped with Red Hat Enterprise Linux 5, 6 and 7 after CVE-2017-1000366 fix:
https://access.redhat.com/security/cve/cve-2017-1000366
Package: compat-glibc (Red Hat Enterprise Linux 5) - Not affected
Package: glibc (Red Hat Enterprise Linux 5) - Not affected
Package: compat-glibc (Red Hat Enterprise Linux 6) - Not affected
Package: glibc (Red Hat Enterprise Linux 6) - Not affected
Package: compat-glibc (Red Hat Enterprise Linux 7) - Not affec
Debian
CVE-2017-1000408: glibc - A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and ampli...
vendor_debian·2017·CVSS 7.8
CVE-2017-1000408 [HIGH] CVE-2017-1000408: glibc - A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and ampli...
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
Scope: local
bookworm: resolved (fixed in 2.25-5)
bullseye: resolved (fixed in 2.25-5)
forky: resolved (fixed in 2.25-5)
sid: resolved (fixed in 2.25-5)
trixie: resolved (fixed in 2.25-5)
GHSA
GHSA-h374-m7g3-c2ww: A memory leak in glibc 2
ghsa_unreviewed·2022-05-13·CVSS 7.8
CVE-2017-1000408 [HIGH] CWE-772 GHSA-h374-m7g3-c2ww: A memory leak in glibc 2
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
OSV
CVE-2017-1000408: A memory leak in glibc 2
osv·2018-02-01·CVSS 7.8
CVE-2017-1000408 [HIGH] CVE-2017-1000408: A memory leak in glibc 2
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
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
No detection rules found.
Bugzilla
CVE-2017-1000408 CVE-2017-1000409 glibc: various flaws [fedora-all]
bugzilla·2017-12-12·CVSS 7.8
CVE-2017-1000408 [HIGH] CVE-2017-1000408 CVE-2017-1000409 glibc: various flaws [fedora-all]
CVE-2017-1000408 CVE-2017-1000409 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
Bugzilla
CVE-2017-1000408 glibc: Memory leak reachable via LD_HWCAP_MASK
bugzilla·2017-12-06·CVSS 7.8
CVE-2017-1000408 [HIGH] CVE-2017-1000408 glibc: Memory leak reachable via LD_HWCAP_MASK
CVE-2017-1000408 glibc: Memory leak reachable via LD_HWCAP_MASK
It was found that a memory leak can be reached and amplified through the LD_HWCAP_MASK environment variable. It's not exploitable if the glibc is patched against CVE-2017-1000366, because this patch ignores the LD_HWCAP_MASK and LD_LIBRARY_PATH environment variables when SUID binaries are executed
Introducing commit:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=ab7eb292307152e706948a7b19164ff5e6d593d4
Discussion:
Acknowledgments:
Name: Qualys Research Labs
---
Public via:
http://seclists.org/oss-sec/2017/q4/385
---
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 1524867]
---
Statement:
This issue did not affect the versions of glibc as shipped with Red Hat Enterprise Linux 5,
http://seclists.org/oss-sec/2017/q4/385http://www.openwall.com/lists/oss-security/2019/06/27/7http://www.openwall.com/lists/oss-security/2019/06/28/1http://www.openwall.com/lists/oss-security/2019/06/28/2https://security.netapp.com/advisory/ntap-20190404-0003/https://www.exploit-db.com/exploits/43331/http://seclists.org/oss-sec/2017/q4/385http://www.openwall.com/lists/oss-security/2019/06/27/7http://www.openwall.com/lists/oss-security/2019/06/28/1http://www.openwall.com/lists/oss-security/2019/06/28/2https://security.netapp.com/advisory/ntap-20190404-0003/https://www.exploit-db.com/exploits/43331/
2018-02-01
Published