Cloudanix VulnDB

CVE-2014-9984

Critical · 9.8

CVSS

9.8

EPSS

4.5%

Published

Jun 12, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a fundamental system library can let attackers crash or take control of computers by sending bad requests to a common caching service.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Incorrect buffer size calculation in nscd when handling netgroup requests leads to memory corruption, enabling daemon crash or arbitrary code execution as the nscd process user.

Why it matters to the business

Systems relying on vulnerable glibc versions face risk of service outages or full host compromise via the name service cache daemon, with elevated urgency for internet-facing or multi-tenant environments despite low EPSS.

How an attack unfolds

An attacker sends specially crafted netgroup requests over the network to the nscd daemon; the flawed size computation triggers memory corruption that can be leveraged for code execution or denial of service.

How to fix it

Upgrade GNU C Library (glibc) to version 2.20 or later to correct the netgroup buffer size computation in nscd; disable or restrict nscd where feasible.

How to confirm the fix worked

Verify glibc package version is at least 2.20; perform functional testing of netgroup lookups and monitor nscd stability under load.

Typical attack path

  1. Locate hosts running vulnerable nscd (glibc < 2.20)
  2. Craft malicious netgroup request payload
  3. Transmit request to trigger buffer miscalculation
  4. Achieve memory corruption leading to crash or RCE

How to detect it

Review nscd process logs and system crash reports for unexpected terminations during netgroup handling; inspect network traffic for unusual netgroup queries.

  • nscd segmentation fault
  • nscd buffer overflow
  • netgroup request processing failure

What your security team should do

  • Prioritize glibc upgrade to 2.20+ across all affected systems
  • Audit nscd usage and disable where not required
  • Implement network segmentation or access controls around nscd ports if enabled
  • Monitor for nscd crashes and anomalous netgroup activity

The record

nscd in the GNU C Library (aka glibc or libc6) before version 2.20 does not correctly compute the size of an internal buffer when processing netgroup requests, possibly leading to an nscd daemon crash or code execution as the user running nscd.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 glibc 0 2.19-14
Debian:12 glibc 0 2.19-14
Debian:13 glibc 0 2.19-14
SUSE:Linux Enterprise Server 12-LTSS glibc 0 2.19-22.24.5
Ubuntu:16.04:LTS glibc 0 2.23-0ubuntu7
Ubuntu:Pro:14.04:LTS eglibc 0 2.19-0ubuntu6.15+esm3
Ubuntu:Pro:16.04:LTS glibc 0 2.23-0ubuntu11.3+esm6
Ubuntu:Pro:18.04:LTS glibc 0 2.27-3ubuntu1.6+esm2

Related vulnerabilities