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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22912Nextcloud iOS before 3.4.2 suffers from an information discl…6.5
- CVE-2021-22913Nextcloud Deck before 1.2.7, 1.4.1 suffers from an informati…6.5
- CVE-2021-22914Citrix Cloud Connector before 6.31.0.62192 suffers from inse…7.5
- CVE-2021-22915Nextcloud server before 19.0.11, 20.0.10, 21.0.2 is vulnerab…9.8
- CVE-2021-22916In Brave Desktop between versions 1.17 and 1.26.60, when adb…5.9
- CVE-2021-22917Brave Browser Desktop between versions 1.17 and 1.20 is vuln…6.5
- CVE-2021-22919A vulnerability has been discovered in Citrix ADC (formerly …7.5
- CVE-2021-2292Vulnerability in the Oracle Document Management and Collabor…8.1
- CVE-2021-22920A vulnerability has been discovered in Citrix ADC (formerly …6.5
- CVE-2021-22921Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to…7.8
- CVE-2021-22922When curl is instructed to download content using the metali…6.5
- CVE-2021-22923When curl is instructed to get content using the metalink fe…5.3
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
