Incorrect Calculation of Buffer Size Affecting nscd package, versions <0:2.12-1.149.el6_6.5


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.44% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-NSCD-2112030
  • published26 Jul 2021
  • disclosed27 Jan 2015

Introduced: 27 Jan 2015

CVE-2015-0235  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:6 nscd to version 0:2.12-1.149.el6_6.5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nscd package and not the nscd package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1) gethostbyname or (2) gethostbyname2 function, aka "GHOST."

References

CVSS Scores

version 3.1