CVE-2021-22918Nodejs Node.js
Medium 5.3 No auth neededHigh EPSS
Follow: this CVE · Nodejs · Nodejs Node.js We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.3
- EPSS
- 23.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Jul 12, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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().
What to do
- Apply the vendor's security update for Node.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com Patch Third Party Advisory
- hackerone.com Exploit Third Party Advisory
- nodejs.org Patch Vendor Advisory
- security.gentoo.org
- security.netapp.com Third Party Advisory