Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-0235 EUVD-2015-0257GHSA-jwcp-p679-fcr4

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-depe…

Published Jan 28, 2015 · Updated Aug 6, 2024 · Assigned by redhat

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."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.18-1 —
Debian 13 glibc 2.18-1 —
Debian 12 glibc 2.18-1 —
Debian 7 eglibc 2.13-38+deb7u7 DSA-3142-1
Debian 6.0 eglibc 2.11.3-4+deb6u4 DLA-139-1
ReleasePackageFixed inAdvisory
RHEL 7 nscd +7 2.17-55.el7_0.5 RHSA-2015:0092
RHEL 6 nscd +7 2.12-1.149.el6_6.5 RHSA-2015:0092
RHEL 6 rhev-hypervisor6 6.6-20150123.1.el6ev RHSA-2015:0126
RHEL 5 nscd +6 2.5-123.el5_11.1 RHSA-2015:0090
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 6 nscd +7 2.12-1.47.el6_2.15 RHSA-2015:0099
Red Hat Rhel Mission Critical 5 nscd +6 2.5-58.el5_6.6 RHSA-2015:0099
RHEL 6.5 EUS nscd +7 2.12-1.132.el6_5.5 RHSA-2015:0099
RHEL 6.4 EUS nscd +7 2.12-1.107.el6_4.7 RHSA-2015:0099
RHEL 5.9 EUS nscd +6 2.5-107.el5_9.8 RHSA-2015:0099
RHEL 4 ELS nscd +8 2.3.4-2.57.el4.2 RHSA-2015:0101
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 nscd +6 2.17-55.0.4.el7_0.5 ELSA-2015-0092

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 2 modules

Exploit-DB 2

GitHub 16 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 15

References