Out-of-bounds Read Affecting nodejs package, versions <1:14.17.3-2.module+el8.4.0+11738+3bd42762


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.74% (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-CENTOS8-NODEJS-2117230
  • published26 Jul 2021
  • disclosed1 Jul 2021

Introduced: 1 Jul 2021

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

How to fix?

Upgrade Centos:8 nodejs to version 1:14.17.3-2.module+el8.4.0+11738+3bd42762 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs package and not the nodejs package as distributed by Centos. See How to fix? for Centos:8 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