CVE-2013-4357
High · 7.5CVSS
7.5
EPSS
3.2%
Published
Dec 31, 2019
CISA due date
—
Cloudanix analysis
A long-fixed flaw in a basic Linux library can let attackers knock network services offline by sending bad address information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in getaddrinfo() within eglibc < 2.14 allows remote input to trigger memory corruption that crashes the calling process, resulting in denial of service with no confidentiality or integrity impact.
Why it matters to the business
Unpatched Linux systems using affected eglibc versions risk sudden unavailability of network-dependent services; the issue remains exploitable years after disclosure on any remaining legacy deployments.
How an attack unfolds
An attacker supplies a crafted hostname or DNS response that causes getaddrinfo() to overflow an internal buffer, immediately terminating the vulnerable process and disrupting any application performing name resolution.
How to fix it
Upgrade eglibc to version 2.14 or later on all affected distributions; apply vendor patches for SUSE Linux Enterprise Server, Debian, Ubuntu, and Fedora as appropriate; disable unnecessary name resolution where feasible until patched.
How to confirm the fix worked
Confirm eglibc version is 2.14 or newer via package manager; test name-resolution functions with known trigger inputs in a lab environment; monitor process stability under load after deployment.
Typical attack path
- Identify services on the target that invoke getaddrinfo() for name resolution
- Send a malicious DNS reply or hostname string over the network
- Trigger the buffer overflow and force the process to crash
- Repeat to sustain denial of service
How to detect it
Review application and system logs for abrupt crashes during name resolution; look for repeated failures in processes that call getaddrinfo(); correlate with network traffic containing unusual DNS payloads.
What your security team should do
- Inventory all systems still running eglibc < 2.14 and prioritize immediate upgrade
- Block or rate-limit untrusted DNS responses at network boundaries until patches are applied
- Add getaddrinfo() crash signatures to monitoring rules given public exploit availability
The record
The eglibc package before 2.14 incorrectly handled the getaddrinfo() function. An attacker could use this issue to cause a denial of service.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:6.0 | eglibc | 0 | 2.11.3-4+deb6u5 |
| Ubuntu:14.04:LTS | eglibc | 0 | 2.19-0ubuntu6.1 |
Related vulnerabilities
- CVE-2015-7547 Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the… Also affects eglibc
- CVE-2013-7423 The send_dg function in resolv/res_send.c in GNU C Library (aka glibc or libc6) before… Also affects eglibc
- CVE-2015-0235 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… Also affects eglibc
- CVE-2012-6656 iconvdata/ibm930.c in GNU C Library (aka glibc) before 2.16 allows context-dependent… Also affects eglibc
- CVE-2014-5119 Off-by-one error in the __gconv_translit_find function in gconv_trans.c in GNU C Library… Also affects eglibc
- CVE-2012-4412 Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and… Also affects eglibc
- CVE-2013-4788 The PTR_MANGLE implementation in the GNU C Library (aka glibc or libc6) 2.4, 2.17, and… Also affects eglibc
- CVE-2015-5180 res_query in libresolv in glibc before 2.25 allows remote attackers to cause a denial of… Also affects eglibc