CVE-2015-7547: Buffer Overflow

Published Dec 22, 2015
·
Updated

A stack-based buffer overflow was found in libresolv when invoked from nssdns, allowing specially crafted DNS responses to seize control of EIP in the DNS client.

The buffer overflow occurs in the functions senddg (send datagram) and sendvc (send TCP) for the NSS module libnssdns.so.2 when calling getaddrinfo with AFUNSPEC family, or in some cases AFINET6 family. The use of AFUNSPEC (or AFINET6 in some cases) triggers the low-level resolver code to send out two parallel queries for A and AAAA. A mismanagement of the buffers used for those queries could result in the response of a query writing beyond the alloca allocated buffer created by resnquery.

Other sources

Multiple stack-based buffer overflows in the (1) senddg and (2) sendvc functions in the libresolv library in the GNU C Library (aka glibc or libc6) before 2.23 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted DNS response that triggers a call to the getaddrinfo function with the AFUNSPEC or AFINET6 address family, related to performing "dual A/AAAA DNS queries" and the libnssdns.so.2 NSS module.

MITRE

Affected Software

68 affected components
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
HP Helion Openstack=1.1.1
HP Helion Openstack=2.0.0
HP Helion Openstack=2.1.0
HP Server Migration Pack=7.5
Sophos Unified Threat Management Software=9.319
Sophos Unified Threat Management Software=9.355
SUSE Linux Enterprise Debuginfo=11.0-sp2
SUSE Linux Enterprise Debuginfo=11.0-sp3
SUSE Linux Enterprise Debuginfo=11.0-sp4
openSUSE openSUSE=13.2
SUSE Linux Enterprise Desktop=11.0-sp3
SUSE Linux Enterprise Desktop=11.0-sp4
SUSE Linux Enterprise Desktop=12
SUSE Linux Enterprise Desktop=12-sp1
SUSE Linux Enterprise Server=11.0-sp2
SUSE Linux Enterprise Server=11.0-sp3
SUSE Linux Enterprise Server Vmware=11.0-sp3
SUSE Linux Enterprise Server=11.0-sp4
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Software Development Kit=11.0-sp3
SUSE Linux Enterprise Software Development Kit=11.0-sp4
SUSE Linux Enterprise Software Development Kit=12
SUSE Linux Enterprise Software Development Kit=12-sp1
SUSE SUSE Linux Enterprise Server=12
Oracle Exalogic Infrastructure=1.0
Oracle Exalogic Infrastructure=2.0
F5 BIG-IP Access Policy Manager=12.0.0
F5 BIG-IP Advanced Firewall Manager=12.0.0
F5 BIG-IP Analytics=12.0.0
F5 Big-ip Application Acceleration Manager=12.0.0
F5 BIG-IP Application Security Manager=12.0.0
F5 Big-ip Domain Name System=12.0.0
F5 Big-ip Link Controller=12.0.0
F5 Big-ip Local Traffic Manager=12.0.0
F5 Big-ip Policy Enforcement Manager=12.0.0
Oracle Fujitsu M10 Firmware<=2290
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.2
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Workstation=7.0
GNU glibc=2.9
GNU glibc=2.10
GNU glibc=2.10.1
GNU glibc=2.11
GNU glibc=2.11.1
GNU glibc=2.11.2
GNU glibc=2.11.3
GNU glibc=2.12
GNU glibc=2.12.1
GNU glibc=2.12.2
GNU glibc=2.13
GNU glibc=2.14
GNU glibc=2.14.1
GNU glibc=2.15
GNU glibc=2.16
GNU glibc=2.17
GNU glibc=2.18
GNU glibc=2.19
GNU glibc=2.20
GNU glibc=2.21
GNU glibc=2.22

Event History

Dec 22, 2015
Data Sourced
04:36 AM
DescriptionSeverityAffected Software
Feb 18, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-7547?

CVE-2015-7547 has a critical severity level due to its potential for remote code execution via specially crafted DNS responses.

2

How do I fix CVE-2015-7547?

To fix CVE-2015-7547, update the affected software packages to the patched versions provided by the software maintainers.

3

Which systems are affected by CVE-2015-7547?

CVE-2015-7547 affects various systems including Debian 8.0, Ubuntu 12.04, 14.04, 15.10, and several versions of HP Helion OpenStack, SUSE Linux, and Red Hat Enterprise Linux.

4

What types of attacks can exploit CVE-2015-7547?

CVE-2015-7547 can be exploited through remote attacks where specially crafted DNS responses can lead to stack-based buffer overflow.

5

What should I do if I cannot update my software to mitigate CVE-2015-7547?

If you cannot update your software, consider implementing strict egress filtering and monitoring DNS traffic to reduce the risk of exploitation from CVE-2015-7547.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203