GNU glibc: Code Execution (CVE-2017-1000366)
Published Sources: CVE.org
What is affected, what to do
glibc contains a vulnerability that allows specially crafted LD_LIBRARY_PATH values to manipulate the heap/stack, causing them to alias, potentially resulting in arbitrary code execution. Please note that additional hardening changes have been made to glibc to prevent manipulation of stack and heap memory but these issues are not directly exploitable, as such they have not been given a CVE.
An exploit is publicly available. The available sources name no fixed version. Check the vendor guidance in the references below.
- Affected
- Redhat Enterprise Linux
eq 5..5 - Redhat Enterprise Linux
eq 6.0..6.0 - Redhat Enterprise Linux
eq 7.0..7.0 - Redhat Enterprise Linux Desktop
eq 6.0..6.0 - Redhat Enterprise Linux Desktop
eq 7.0..7.0 - Redhat Enterprise Linux Server
eq 6.0..6.0 - Redhat Enterprise Linux Server
eq 6.6..6.6 - Redhat Enterprise Linux Server
eq 7.0..7.0 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 5.9..5.9 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 6.2..6.2 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 6.4..6.4 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 6.5..6.5 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 6.6..6.6 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 7.2..7.2 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 7.3..7.3 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 7.4..7.4 - Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
eq 7.6..7.6 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 6.2..6.2 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 6.5..6.5 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 6.7..6.7 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 7.2..7.2 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 7.3..7.3 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 7.4..7.4 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 7.5..7.5 - Redhat Enterprise Linux Server Extended Update Support (EUS)
eq 7.6..7.6 - Redhat Enterprise Linux Server Long Life
eq 5.9..5.9 - Red Hat Enterprise Linux Server (TUS)
eq 6.5..6.5 - Red Hat Enterprise Linux Server (TUS)
eq 6.6..6.6 - Red Hat Enterprise Linux Server (TUS)
eq 7.2..7.2 - Red Hat Enterprise Linux Server (TUS)
eq 7.3..7.3 - Red Hat Enterprise Linux Server (TUS)
eq 7.6..7.6 - Redhat Enterprise Linux Workstation
eq 6.0..6.0 - Redhat Enterprise Linux Workstation
eq 7.0..7.0 - OpenStack Cloud Magnum Orchestration
eq 7..7 - Novell SUSE Linux Enterprise Desktop
eq 12.0..12.0 - Novell SUSE Linux Enterprise Point Of Sale
eq 11.0..11.0 - Novell SUSE Linux Enterprise Server
eq 11.0..11.0 - openSUSE Leap
eq 42.2..42.2 - SUSE Linux Enterprise For SAP
eq 12..12 - SUSE Linux Enterprise Server
eq 10..10 - SUSE Linux Enterprise Server
eq 11..11 - SUSE Linux Enterprise Server
eq 12..12 - SUSE Linux Enterprise Server For Raspberry Pi
eq 12..12 - SUSE Linux Enterprise Software Development Kit (SDK)
eq 11.0..11.0 - SUSE Linux Enterprise Software Development Kit (SDK)
eq 12.0..12.0 - GNU glibc
lte *..2.25 - Debian Linux
eq 8.0..8.0 - Debian Linux
eq 9.0..9.0 - McAfee Web Gateway
lte *..7.6.2.14 - McAfee Web Gateway
lte 7.7.0.0..7.7.2.2
- Redhat Enterprise Linux
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
7.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
7.8
CVSS v3
Severity High on the scale from 0 to 10.
Source: CVE.org
2.7 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 86.0
Show all metrics
- Severity
- High
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 98.20 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- PoC (publicly reported)
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 7.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 7.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 2.7 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 86.0
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
glibc contains a vulnerability that allows specially crafted LD_LIBRARY_PATH values to manipulate the heap/stack, causing them to alias, potentially resulting in arbitrary code execution. Please note that additional hardening changes have been made to glibc to prevent manipulation of stack and heap memory but these issues are not directly exploitable, as such they have not been given a CVE. This affects glibc 2.25 and earlier.
Source: cvelistv5, NVD (NIST)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| gnu | glibc |
|
|
| mcafee | web_gateway |
|
|
| openstack | cloud_magnum_orchestration |
|
|
Vendors and products
- Debian Debian Linux
- GNU GNU glibc
- McAfee McAfee Web Gateway (MWG)
- Novell Novell SUSE Linux Enterprise Desktop
- Novell Novell SUSE Linux Enterprise Server
- OpenStack
- openSUSE openSUSE Leap
- Red Hat Redhat Enterprise Linux
- Red Hat Redhat Enterprise Linux Desktop
- Red Hat Redhat Enterprise Linux Server
- Red Hat Redhat Enterprise Linux Server Advanced mission critical Update Support (AUS)
- Red Hat Red Hat Enterprise Linux Server Extended Update Support (EUS)
Affected operating systems
| Linux | debian | debian_linux | 8.0 |
| Linux | debian | debian_linux | 9.0 |
| Linux | redhat | enterprise_linux | 5 |
| Linux | redhat | enterprise_linux | 6.0 |
| Linux | redhat | enterprise_linux | 7.0 |
| Linux | redhat | enterprise_linux_desktop | 6.0 |
| Linux | redhat | enterprise_linux_desktop | 7.0 |
| Linux | redhat | enterprise_linux_server | 6.0 |
| Linux | redhat | enterprise_linux_server | 6.6 |
| Linux | redhat | enterprise_linux_server | 7.0 |
| Linux | redhat | enterprise_linux_server_aus | 5.9 |
| Linux | redhat | enterprise_linux_server_aus | 6.2 |
| Linux | redhat | enterprise_linux_server_aus | 6.4 |
| Linux | redhat | enterprise_linux_server_aus | 6.5 |
| Linux | redhat | enterprise_linux_server_aus | 6.6 |
| Linux | redhat | enterprise_linux_server_aus | 7.2 |
| Linux | redhat | enterprise_linux_server_aus | 7.3 |
| Linux | redhat | enterprise_linux_server_aus | 7.4 |
| Linux | redhat | enterprise_linux_server_aus | 7.6 |
| Linux | redhat | enterprise_linux_server_eus | 6.2 |
| Linux | redhat | enterprise_linux_server_eus | 6.5 |
| Linux | redhat | enterprise_linux_server_eus | 6.7 |
| Linux | redhat | enterprise_linux_server_eus | 7.2 |
| Linux | redhat | enterprise_linux_server_eus | 7.3 |
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| Packet Storm | Cisco Device Hardcoded Credentials GNU glibc BusyBox (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Exploit-DB | EDB-ID 42274 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
| Exploit-DB | EDB-ID 42275 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
| Exploit-DB | EDB-ID 42276 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
References & sources
- qualys.com2017/06/19/stack-clash/stack-clash.txtx_refsource_MISC, Technical description, Third-party advisory
- securitytracker.com1038712Vulnerability database, x_refsource_SECTRACK, Third-party advisory, Vulnerability database
- exploit-db.com42275Exploit, x_refsource_EXPLOIT-DB, Third-party advisory, Vulnerability database
- access.redhat.comRHSA-2017:1712Vendor advisory, x_refsource_REDHAT, Third-party advisory
- suse.comsecurity/cve/CVE-2017-1000366x_refsource_CONFIRM, Third-party advisory
- access.redhat.comRHSA-2017:1479Vendor advisory, x_refsource_REDHAT, Third-party advisory
- access.redhat.comRHSA-2017:1480Vendor advisory, x_refsource_REDHAT, Third-party advisory
- securityfocus.com99127Vulnerability database, x_refsource_BID, Third-party advisory, Vulnerability database
- exploit-db.com42276Exploit, x_refsource_EXPLOIT-DB, Third-party advisory, Vulnerability database
- suse.comsupport/kb/doc/?id=7020973x_refsource_CONFIRM, Third-party advisory
- access.redhat.comRHSA-2017:1567Vendor advisory, x_refsource_REDHAT, Third-party advisory
- exploit-db.com42274Exploit, x_refsource_EXPLOIT-DB, Third-party advisory, Vulnerability database
- access.redhat.comsecurity/cve/CVE-2017-1000366x_refsource_CONFIRM, Third-party advisory
- access.redhat.comRHSA-2017:1481Vendor advisory, x_refsource_REDHAT, Third-party advisory
- debian.orgDSA-3887Vendor advisory, x_refsource_DEBIAN, Third-party advisory
- security.gentoo.orgGLSA-201706-19Vendor advisory, x_refsource_GENTOO, Third-party advisory
- kc.mcafee.comcorporate/index?page=content&id=SB10205x_refsource_CONFIRM, Patch, Third-party advisory
- seclists.org20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16XMailing list, x_refsource_FULLDISC
- seclists.org20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16XMailing list, x_refsource_BUGTRAQ
- packetstormsecurity.comfiles/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyB…x_refsource_MISC
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2017-1000366"><img src="https://intel.neosec.eu/badge/cve/CVE-2017-1000366.svg?lang=en" alt="CVE-2017-1000366 – NEOSEC Intel" height="20"></a>