Out-of-Bounds Affecting glibc package, versions [,2.21)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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-2319126
  • published14 Dec 2021
  • disclosed8 Apr 2015
  • creditUnknown

Introduced: 8 Apr 2015

CVE-2015-1473  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade glibc to version 2.21 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The ADDW macro in stdio-common/vfscanf.c in the GNU C Library (aka glibc or libc6) before 2.21 does not properly consider data-type size during a risk-management decision for use of the alloca function, which might allow context-dependent attackers to cause a denial of service (segmentation violation) or overwrite memory locations beyond the stack boundary via a long line containing wide characters that are improperly handled in a wscanf call.

CVSS Scores

version 3.1