ID CVE-2015-7547
Summary Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc 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 AF_UNSPEC or AF_INET6 address family, related to performing "dual A/AAAA DNS queries" and the libnss_dns.so.2 NSS module.
References
Vulnerable Configurations
  • Debian Linux 8.0 (Jessie)
    cpe:2.3:o:debian:debian_linux:8.0
  • Canonical Ubuntu Linux 12.04 LTS
    cpe:2.3:o:canonical:ubuntu_linux:12.04:-:-:-:lts
  • Canonical Ubuntu Linux 14.04 LTS (Long-Term Support)
    cpe:2.3:o:canonical:ubuntu_linux:14.04:-:-:-:lts
  • Canonical Ubuntu Linux 15.10
    cpe:2.3:o:canonical:ubuntu_linux:15.10
  • cpe:2.3:a:hp:helion_openstack:1.1.1
    cpe:2.3:a:hp:helion_openstack:1.1.1
  • cpe:2.3:a:hp:helion_openstack:2.0.0
    cpe:2.3:a:hp:helion_openstack:2.0.0
  • cpe:2.3:a:hp:helion_openstack:2.1.0
    cpe:2.3:a:hp:helion_openstack:2.1.0
  • cpe:2.3:a:hp:server_migration_pack:7.5
    cpe:2.3:a:hp:server_migration_pack:7.5
  • Sophos Unified Threat Management (UTM) Software 9.319
    cpe:2.3:a:sophos:unified_threat_management_software:9.319
  • Sophos Unified Threat Management (UTM) Software 9.355
    cpe:2.3:a:sophos:unified_threat_management_software:9.355
  • cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp2
    cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp2
  • cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp3
    cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp3
  • cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp4
    cpe:2.3:a:suse:linux_enterprise_debuginfo:11.0:sp4
  • Novell openSUSE 13.2
    cpe:2.3:o:novell:opensuse:13.2
  • cpe:2.3:o:suse:linux_enterprise_desktop:11.0:sp3
    cpe:2.3:o:suse:linux_enterprise_desktop:11.0:sp3
  • cpe:2.3:o:suse:linux_enterprise_desktop:11.0:sp4
    cpe:2.3:o:suse:linux_enterprise_desktop:11.0:sp4
  • SUSE Linux Enterprise Desktop 12
    cpe:2.3:o:suse:linux_enterprise_desktop:12
  • cpe:2.3:o:suse:linux_enterprise_desktop:12:sp1
    cpe:2.3:o:suse:linux_enterprise_desktop:12:sp1
  • cpe:2.3:o:suse:linux_enterprise_server:11.0:sp2:-:-:lts
    cpe:2.3:o:suse:linux_enterprise_server:11.0:sp2:-:-:lts
  • cpe:2.3:o:suse:linux_enterprise_server:11.0:sp3
    cpe:2.3:o:suse:linux_enterprise_server:11.0:sp3
  • cpe:2.3:o:suse:linux_enterprise_server:11.0:sp3:-:-:-:vmware
    cpe:2.3:o:suse:linux_enterprise_server:11.0:sp3:-:-:-:vmware
  • cpe:2.3:o:suse:linux_enterprise_server:11.0:sp4
    cpe:2.3:o:suse:linux_enterprise_server:11.0:sp4
  • SUSE Linux Enterprise Server 12
    cpe:2.3:o:suse:linux_enterprise_server:12
  • cpe:2.3:o:suse:linux_enterprise_server:12:sp1
    cpe:2.3:o:suse:linux_enterprise_server:12:sp1
  • cpe:2.3:o:suse:linux_enterprise_software_development_kit:11.0:sp3
    cpe:2.3:o:suse:linux_enterprise_software_development_kit:11.0:sp3
  • cpe:2.3:o:suse:linux_enterprise_software_development_kit:11.0:sp4
    cpe:2.3:o:suse:linux_enterprise_software_development_kit:11.0:sp4
  • SUSE Linux Enterprise Software Development Kit (SDK) 12
    cpe:2.3:o:suse:linux_enterprise_software_development_kit:12
  • cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1
    cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1
  • Oracle Exalogic Infrastructure 1.0
    cpe:2.3:a:oracle:exalogic_infrastructure:1.0
  • Oracle Exalogic Infrastructure 2.0
    cpe:2.3:a:oracle:exalogic_infrastructure:2.0
  • F5 BIG-IP Access Policy Manager (APM) 12.0.0
    cpe:2.3:a:f5:big-ip_access_policy_manager:12.0.0
  • F5 BIG-IP Advanced Firewall Manager (APM) 12.0.0
    cpe:2.3:a:f5:big-ip_advanced_firewall_manager:12.0.0
  • F5 BIG-IP Analytics 12.0.0
    cpe:2.3:a:f5:big-ip_analytics:12.0.0
  • F5 BIG-IP Application Acceleration Manager (AAM) 12.0.0
    cpe:2.3:a:f5:big-ip_application_acceleration_manager:12.0.0
  • F5 BIG-IP Application Security Manager (ASM) 12.0.0
    cpe:2.3:a:f5:big-ip_application_security_manager:12.0.0
  • F5 BIG-IP Domain Name System 12.0.0
    cpe:2.3:a:f5:big-ip_domain_name_system:12.0.0
  • F5 BIG-IP Link Controller 12.0.0
    cpe:2.3:a:f5:big-ip_link_controller:12.0.0
  • F5 BIG-IP Local Traffic Manager (LTM) 12.0.0
    cpe:2.3:a:f5:big-ip_local_traffic_manager:12.0.0
  • F5 BIG-IP Policy Enforcement Manager (PEM) 12.0.0
    cpe:2.3:a:f5:big-ip_policy_enforcement_manager:12.0.0
  • Oracle Fujitsu M10 Firmware 2290
    cpe:2.3:o:oracle:fujitsu_m10_firmware:2290
  • RedHat Enterprise Linux Desktop 7.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0
  • RedHat Enterprise Linux HPC Node 7.0
    cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0
  • Red Hat Enterprise Linux HPC Node EUS 7.2
    cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2
  • RedHat Enterprise Linux Server 7.0
    cpe:2.3:o:redhat:enterprise_linux_server:7.0
  • Red Hat Enterprise Linux Server AUS 7.2
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2
  • Red Hat Enterprise Linux Server EUS 7.2
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2
  • RedHat Enterprise Linux Workstation 7.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0
  • GNU glibc 2.9
    cpe:2.3:a:gnu:glibc:2.9
  • GNU glibc 2.10
    cpe:2.3:a:gnu:glibc:2.10
  • GNU glibc 2.10.1
    cpe:2.3:a:gnu:glibc:2.10.1
  • GNU glibc 2.11
    cpe:2.3:a:gnu:glibc:2.11
  • GNU glibc 2.11.1
    cpe:2.3:a:gnu:glibc:2.11.1
  • GNU glibc 2.11.2
    cpe:2.3:a:gnu:glibc:2.11.2
  • GNU glibc 2.11.3
    cpe:2.3:a:gnu:glibc:2.11.3
  • GNU glibc 2.12
    cpe:2.3:a:gnu:glibc:2.12
  • GNU glibc 2.12.1
    cpe:2.3:a:gnu:glibc:2.12.1
  • GNU glibc 2.12.2
    cpe:2.3:a:gnu:glibc:2.12.2
  • GNU glibc 2.13
    cpe:2.3:a:gnu:glibc:2.13
  • GNU glibc 2.14
    cpe:2.3:a:gnu:glibc:2.14
  • GNU glibc 2.14.1
    cpe:2.3:a:gnu:glibc:2.14.1
  • GNU glibc 2.15
    cpe:2.3:a:gnu:glibc:2.15
  • GNU glibc 2.16
    cpe:2.3:a:gnu:glibc:2.16
  • GNU glibc 2.17
    cpe:2.3:a:gnu:glibc:2.17
  • GNU glibc 2.18
    cpe:2.3:a:gnu:glibc:2.18
  • GNU glibc 2.19
    cpe:2.3:a:gnu:glibc:2.19
  • GNU glibc 2.20
    cpe:2.3:a:gnu:glibc:2.20
  • GNU glibc 2.21
    cpe:2.3:a:gnu:glibc:2.21
  • GNU Glibc 2.22
    cpe:2.3:a:gnu:glibc:2.22
CVSS
Base: 6.8 (as of 05-08-2016 - 10:21)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
  • author Google Security Research
    date 2016-02-16
    description glibc - 'getaddrinfo' Stack Based Buffer Overflow (PoC)
    file platforms/linux/dos/39454.txt
    id 39454
    platform linux
    port 0
    type dos
  • author SpeeDr00t
    date 2016-09-06
    description glibc - 'getaddrinfo' Stack Based Buffer Overflow
    file platforms/linux/remote/40339.py
    id 40339
    platform linux
    port 0
    type remote
redhat via4
advisories
  • bugzilla
    id 1293532
    title CVE-2015-7547 glibc: getaddrinfo stack-based buffer overflow
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
    • OR
      • AND
        • comment glibc is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175015
        • comment glibc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872006
      • AND
        • comment glibc-common is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175017
        • comment glibc-common is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872012
      • AND
        • comment glibc-devel is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175009
        • comment glibc-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872018
      • AND
        • comment glibc-headers is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175005
        • comment glibc-headers is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872010
      • AND
        • comment glibc-static is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175007
        • comment glibc-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872008
      • AND
        • comment glibc-utils is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175011
        • comment glibc-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872014
      • AND
        • comment nscd is earlier than 0:2.12-1.166.el6_7.7
          oval oval:com.redhat.rhsa:tst:20160175013
        • comment nscd is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872016
    rhsa
    id RHSA-2016:0175
    released 2016-02-16
    severity Critical
    title RHSA-2016:0175: glibc security and bug fix update (Critical)
  • bugzilla
    id 1298956
    title on PPC64LE [rhel-7.2.z]
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 7 Client is installed
        oval oval:com.redhat.rhsa:tst:20140675001
      • comment Red Hat Enterprise Linux 7 Server is installed
        oval oval:com.redhat.rhsa:tst:20140675002
      • comment Red Hat Enterprise Linux 7 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20140675003
      • comment Red Hat Enterprise Linux 7 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20140675004
    • OR
      • AND
        • comment glibc is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176009
        • comment glibc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872006
      • AND
        • comment glibc-common is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176011
        • comment glibc-common is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872012
      • AND
        • comment glibc-devel is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176017
        • comment glibc-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872018
      • AND
        • comment glibc-headers is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176005
        • comment glibc-headers is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872010
      • AND
        • comment glibc-static is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176007
        • comment glibc-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872008
      • AND
        • comment glibc-utils is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176013
        • comment glibc-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872014
      • AND
        • comment nscd is earlier than 0:2.17-106.el7_2.4
          oval oval:com.redhat.rhsa:tst:20160176015
        • comment nscd is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100872016
    rhsa
    id RHSA-2016:0176
    released 2016-02-16
    severity Critical
    title RHSA-2016:0176: glibc security and bug fix update (Critical)
  • rhsa
    id RHSA-2016:0225
  • rhsa
    id RHSA-2016:0277
rpms
  • glibc-0:2.12-1.166.el6_7.7
  • glibc-common-0:2.12-1.166.el6_7.7
  • glibc-devel-0:2.12-1.166.el6_7.7
  • glibc-headers-0:2.12-1.166.el6_7.7
  • glibc-static-0:2.12-1.166.el6_7.7
  • glibc-utils-0:2.12-1.166.el6_7.7
  • nscd-0:2.12-1.166.el6_7.7
  • glibc-0:2.17-106.el7_2.4
  • glibc-common-0:2.17-106.el7_2.4
  • glibc-devel-0:2.17-106.el7_2.4
  • glibc-headers-0:2.17-106.el7_2.4
  • glibc-static-0:2.17-106.el7_2.4
  • glibc-utils-0:2.17-106.el7_2.4
  • nscd-0:2.17-106.el7_2.4
refmap via4
bid 83265
cert-vn VU#457759
confirm
debian
  • DSA-3480
  • DSA-3481
fedora
  • FEDORA-2016-0480defc94
  • FEDORA-2016-0f9e9a34ce
gentoo GLSA-201602-02
hp
  • HPSBGN03442
  • HPSBGN03547
  • HPSBGN03549
  • HPSBGN03551
  • HPSBGN03582
misc
mlist [libc-alpha] 20160216 [PATCH] CVE-2015-7547 --- glibc getaddrinfo() stack-based buffer overflow
sectrack 1035020
suse
  • SUSE-SU-2016:0470
  • SUSE-SU-2016:0471
  • SUSE-SU-2016:0472
  • SUSE-SU-2016:0473
  • openSUSE-SU-2016:0510
  • openSUSE-SU-2016:0511
  • openSUSE-SU-2016:0512
ubuntu USN-2900-1
vmware via4
description The glibc library has been updated in multiple products to resolve a stack buffer overflow present in the glibc getaddrinfo function.
id VMSA-2016-0002
last_updated 2016-02-23T00:00:00
published 2016-02-22T00:00:00
title VMware product updates address a critical glibc security vulnerability VMware product updates address a critical glibc security vulnerability. VMware product updates address a critical glibc security vulnerability. VMware product updates address a critical glibc security vulnerability.
workaround None
Last major update 16-02-2017 - 21:59
Published 18-02-2016 - 16:59
Last modified 09-11-2017 - 21:29
Back to Top