CVE-2015-0235
Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows…
Check your servers for CVE-2015-0235
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-0235 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1) gethostbyname or (2) gethostbyname2 function, aka "GHOST."
Exploitation
EPSS 94.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-0235 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-0235RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-0235Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-0235
trivy image --scanners vuln IMAGE | grep CVE-2015-0235
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBGN03247 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21696131 www-01.ibm.com
- 62883 secunia.com · third party advisory
- 62691 secunia.com · third party advisory
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html oracle.com
- APPLE-SA-2015-10-21-4 lists.apple.com · vendor advisory
- https://support.apple.com/HT205375 support.apple.com
- HPSBGN03285 marc.info · vendor advisory
- http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0 websense.com
- 62698 secunia.com · third party advisory
- 62640 secunia.com · third party advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html oracle.com
57 more
- https://bto.bluecoat.com/security-advisory/sa90 bto.bluecoat.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21696618 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21696600 www-01.ibm.com
- http://www.idirect.net/Partners/~/media/Files/CVE/iDirect-Posted-Common-Vulnerabilities-and-Exposures.pdf idirect.net
- APPLE-SA-2015-09-30-3 lists.apple.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html oracle.com
- https://www.sophos.com/en-us/support/knowledgebase/121879.aspx sophos.com
- 62688 secunia.com · third party advisory
- 62865 secunia.com · third party advisory
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html oracle.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21696243 www-01.ibm.com
- HPSBHF03289 marc.info · vendor advisory
- APPLE-SA-2015-06-30-2 lists.apple.com · vendor advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10100 kc.mcafee.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html oracle.com
- 62812 secunia.com · third party advisory
- 62879 secunia.com · third party advisory
- HPSBGN03270 marc.info · vendor advisory
- http://linux.oracle.com/errata/ELSA-2015-0090.html linux.oracle.com
- http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html oracle.com
- 62871 secunia.com · third party advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html oracle.com
- 62690 secunia.com · third party advisory
- 62692 secunia.com · third party advisory
- https://support.apple.com/HT205267 support.apple.com
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes help.ecostruxureit.com
- 62681 secunia.com · third party advisory
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10671 kb.juniper.net
- http://www-01.ibm.com/support/docview.wss?uid=swg21696526 www-01.ibm.com
- 62667 secunia.com · third party advisory
- https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04874668 h20564.www2.hpe.com
- MDVSA-2015:039 mandriva.com · vendor advisory
- https://www.f-secure.com/en/web/labs_global/fsc-2015-1 f-secure.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21696602 www-01.ibm.com
- 62517 secunia.com · third party advisory
- http://support.apple.com/kb/HT204942 support.apple.com
- http://blogs.sophos.com/2015/01/29/sophos-products-and-the-ghost-vulnerability-affecting-linux/ blogs.sophos.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21695695 www-01.ibm.com
- 62680 secunia.com · third party advisory
- 62813 secunia.com · third party advisory
- GLSA-201503-04 security.gentoo.org · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html oracle.com
- 20150128 GNU glibc gethostbyname Function Buffer Overflow Vulnerability tools.cisco.com · vendor advisory
- RHSA-2015:0126 rhn.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html oracle.com
- 62715 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21695835 www-01.ibm.com
- HPSBMU03330 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21695774 www-01.ibm.com
- 62870 secunia.com · third party advisory
- https://security.netapp.com/advisory/ntap-20150127-0001/ security.netapp.com
- http://linux.oracle.com/errata/ELSA-2015-0092.html linux.oracle.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21695860 www-01.ibm.com
- DSA-3142 debian.org · vendor advisory
- 62816 secunia.com · third party advisory
- 62758 secunia.com · third party advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-994726.pdf cert-portal.siemens.com
Other references
- 72325 securityfocus.com · vdb entry
- http://packetstormsecurity.com/files/130974/Exim-GHOST-glibc-gethostbyname-Buffer-Overflow.html packetstormsecurity.com
- 20150127 GHOST gethostbyname() heap overflow in glibc (CVE-2015-0235) seclists.org · mailing list
- 1032909 securitytracker.com · vdb entry
- http://packetstormsecurity.com/files/130768/EMC-Secure-Remote-Services-GHOST-SQL-Injection-Command-Injection.html packetstormsecurity.com
- 91787 securityfocus.com · vdb entry
- http://packetstormsecurity.com/files/130171/Exim-ESMTP-GHOST-Denial-Of-Service.html packetstormsecurity.com
- 20150311 OpenSSL v1.0.2 for Linux affected by CVE-2015-0235 securityfocus.com · mailing list
- https://www.qualys.com/research/security-advisories/GHOST-CVE-2015-0235.txt qualys.com
- 20150127 Qualys Security Advisory CVE-2015-0235 - GHOST: glibc gethostbyname buffer overflow seclists.org · mailing list
- 20150128 Qualys Security Advisory CVE-2015-0235 - GHOST: glibc gethostbyname buffer overflow seclists.org · mailing list
- https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability community.qualys.com
9 more
- 20190612 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series seclists.org · mailing list
- 20190613 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series seclists.org · mailing list
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html packetstormsecurity.com
- [oss-security] 20210504 21Nails: Multiple vulnerabilities in Exim openwall.com · mailing list
- 20210901 SEC Consult SA-20210901-0 :: Multiple vulnerabilities in MOXA devices seclists.org · mailing list
- http://packetstormsecurity.com/files/164014/Moxa-Command-Injection-Cross-Site-Scripting-Vulnerable-Software.html packetstormsecurity.com
- https://www.arista.com/en/support/advisories-notices/security-advisories/1053-security-advisory-9 arista.com
- 20220617 SEC Consult SA-20220615-0 :: Hardcoded Backdoor User and Outdated Software Components in Nexans FTTO… seclists.org · mailing list
- http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html packetstormsecurity.com
Source: the record CVE-2015-0235 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse