Out-of-bounds Write Affecting glibc package, versions [2.24,2.27)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (69th 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-UNMANAGED-GLIBC-2319025
  • published14 Dec 2021
  • disclosed2 Feb 2018
  • creditUnknown

Introduced: 2 Feb 2018

CVE-2018-6551  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade glibc to version 2.27 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on powerpc, and only in version 2.26 on i386, did not properly handle malloc calls with arguments close to SIZE_MAX and could return a pointer to a heap region that is smaller than requested, eventually leading to heap corruption.

CVSS Scores

version 3.1