← All CVEs

CVE-2021-22918

medium · 5.3

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

5.3
CVSS
23.1%
EPSS (exploit prob.)
98th
EPSS percentile
2021-07-12
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CWE-125

Affected products

VendorProductAffected versions
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

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2021-22918