Integer Underflow Affecting glibc package, versions <2.31-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
7.4% (95th 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-DEBIANUNSTABLE-GLIBC-564234
  • published2 Apr 2020
  • disclosed1 Apr 2020

Introduced: 1 Apr 2020

CVE-2020-6096  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Debian:unstable glibc to version 2.31-2 or higher.

NVD Description

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

An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc 2.30.9000. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a signed comparison vulnerability. If an attacker underflows the 'num' parameter to memcpy(), this vulnerability could lead to undefined behavior such as writing to out-of-bounds memory and potentially remote code execution. Furthermore, this memcpy() implementation allows for program execution to continue in scenarios where a segmentation fault or crash should have occurred. The dangers occur in that subsequent execution and iterations of this code will be executed with this corrupted data.

CVSS Scores

version 3.1