Integer Overflow or Wraparound Affecting glibc-utils package, versions <0:2.17-260.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.89% (75th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-GLIBCUTILS-4880265
  • published26 Jul 2021
  • disclosed4 Feb 2018

Introduced: 4 Feb 2018

CVE-2018-11236  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:7 glibc-utils to version 0:2.17-260.el7 or higher.
This issue was patched in RHSA-2018:3092.

NVD Description

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

stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.