Out-of-bounds Read in Nodejs Node
CVE-2021-22918
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().
Vulnerability class: Buffer Overflow
EPSS: 0.231 (97.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Nodejs Node — versions 4.0, 5.0, 6.0
- Nodejs Node.js
- Siemens Sinec_infrastructure_network_services
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support@hackerone.com (Exploit, Third Party Advisory)
- support@hackerone.com (Patch, Vendor Advisory)
- support@hackerone.com (Third Party Advisory)
- support@hackerone.com (Patch, Third Party Advisory)
- support@hackerone.com (vendor-advisory)
Frequently asked questions
- What is CVE-2021-22918?
- CVE-2021-22918 is a medium-severity vulnerability in Nodejs Node, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2021-07-12.
- How severe is CVE-2021-22918?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-22918 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.