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

EPSS
0.26% (67th 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-4839928
  • published26 Jul 2021
  • disclosed19 Oct 2017

Introduced: 19 Oct 2017

CVE-2017-15670  (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.

The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.