Out-of-bounds Read Affecting libuv1 package, versions <1.34.2-1ubuntu1.3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
23.13% (98th 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-UBUNTU2004-LIBUV1-1315919
  • published3 Jul 2021
  • disclosed12 Jul 2021

Introduced: 3 Jul 2021

CVE-2021-22918  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libuv1 to version 1.34.2-1ubuntu1.3 or higher.

NVD Description

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

Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().

CVSS Base Scores

version 3.1