Out-of-bounds Read in Node.js 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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.231 (97.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.231 · newest: 0.231 · change: 0.000
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js
- Siemens Sinec Infrastructure Network Services
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/1209681 (Exploit, Third Party Advisory)
- nodejs.org/en/blog/vulnerability/july-2021-security-releases/ (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20210805-0003/ (Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf (Patch, Third Party Advisory)
- security.gentoo.org/glsa/202401-23 (vendor-advisory)
Frequently asked questions
- What is CVE-2021-22918?
- CVE-2021-22918 is a medium-severity vulnerability in Node.js 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.