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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.53% (78th 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-RHEL7-GLIBC-4752381
  • 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 RHEL:7 glibc to version 0:2.17-222.el7 or higher.
This issue was patched in RHSA-2018:0805.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc package and not the glibc package as distributed by RHEL. See How to fix? for RHEL: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.