Stack-based buffer overflow in GNU C Library (glibc) - CVE-2015-7547

 

Stack-based buffer overflow in GNU C Library (glibc) - CVE-2015-7547

Published: December 21, 2016 / Updated: May 12, 2020


Vulnerability identifier: #VU2544
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-7547
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to stack-based buffer overflow in in the (1) send_dg and (2) send_vc functions in the libresolv library. A remote attacker can use a crafted DNS response that triggers a call to the getaddrinfo function with the AF_UNSPEC or AF_INET6 address family, related to performing "dual A/AAAA DNS queries" and the libnss_dns.so.2 NSS module, cause memory corruption and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

GNU C Library (glibc)
Amazon Linux AMI
Gentoo Linux
HPE Helion Openstack
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Slackware Linux
Fedora
NonStop Virtual TapeServer (VTS)
Helion Eucalyptus Node Controller
Helion CloudSystem
Integrated Management Module II (IMM2)
IBM System Storage TS4500 Tape Library
Helion Eucalyptus Service EMI
Helion Development Platform
HPE OneView
3PAR OS
XIV Gen3
Cloud Optimizer
Red Hat Virtualization
IBM BladeCenter Advanced Management Module
sys-libs/glibc
glibc

How to mitigate CVE-2015-7547

Update to version 2.23.

GNU C Library (glibc) - update to 2.23
HPE Helion Openstack - update to 2.1.2
Helion CloudSystem - addressed in versions 8.1.3, 9.0.2
IBM BladeCenter Advanced Management Module - update to BPET66U-3.66u
Integrated Management Module II (IMM2) - update to 1aoo72h-5.60
IBM System Storage TS4500 Tape Library - update to 1.2.0.3
Helion Eucalyptus Service EMI - update to 1.57-0.93.110.el6
Helion Development Platform - update to 2.0.2
HPE OneView - update to 2.00.07
sys-libs/glibc - update to 2.21-r2
glibc - addressed in versions 2.21-11.fc22, 2.22-6.fc23, 2.22-9.fc23
3PAR OS - addressed in versions 3.2.1 MU5, 3.2.2 MU2
XIV Gen3 - addressed in versions 11.5.2.a, 11.6.1.a

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins