Heap-based Buffer Overflow Affecting glibc-common package, versions <0:2.17-222.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.84% (82nd 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-CENTOS7-GLIBCCOMMON-2100395
  • published26 Jul 2021
  • disclosed11 Jan 2018

Introduced: 11 Jan 2018

CVE-2018-1000001  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:7 glibc-common to version 0:2.17-222.el7 or higher.

NVD Description

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

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.