Out-of-bounds Read Affecting nodejs:12/nodejs-nodemon package, versions <0:2.0.3-1.module_el8.4.0+2521+c668cc9f


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.14% (51st 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-ALMALINUX8-NODEJS-5623260
  • published28 May 2023
  • disclosed10 Aug 2021

Introduced: 10 Aug 2021

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

How to fix?

Upgrade AlmaLinux:8 nodejs:12/nodejs-nodemon to version 0:2.0.3-1.module_el8.4.0+2521+c668cc9f or higher.
This issue was patched in ALSA-2021:3074.

NVD Description

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

version 3.1