Live threats

All CVEs / Nodejs

CVE-2021-22918Nodejs Node.js

Medium 5.3 No auth neededHigh EPSS

Priority
49
CVSS 3.1
5.3
EPSS
23.1%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jul 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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().

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 12.0.0 < 12.22.2
nodejsnode.js≥ 14.0.0 < 14.17.2
nodejsnode.js≥ 16.0.0 < 16.4.1
siemenssinec_infrastructure_network_services< 1.0.1.1

Official sources

References

Links published by the sources. Open them with care.