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.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js
- Siemens Sinec Infrastructure Network Services
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection, GitHubForSnap/knot-resolver-gael). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- GLSA-202401-23 (vendor-advisory)