CVE-2021-22918
Last modified
CVE-2021-22918 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 23.13% chance of exploitation in the next 30 days.
Description
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().
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 12.0.0, < 12.22.2 |
| Nodejs | Node.Js | >= 14.0.0, < 14.17.2 |
| Nodejs | Node.Js | >= 16.0.0, < 16.4.1 |
| Siemens | Sinec Infrastructure Network Services | < 1.0.1.1 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch, Third Party Advisory
- https://hackerone.com/reports/1209681Exploit, Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210805-0003/Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch, Third Party Advisory
- https://hackerone.com/reports/1209681Exploit, Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210805-0003/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22918?
How severe is CVE-2021-22918?
How do I fix CVE-2021-22918?
Are you affected by CVE-2021-22918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
