Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-22918

5.3 · MEDIUM
Published Jul 12, 2021 nodejs CWE-125 EPSS 23.13% (98th pctl)

Overview

CVE-2021-22918 is a medium-severity vulnerability affecting nodejs node.js. It was published on July 12, 2021 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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().

Remediation

Check the references section for vendor advisories and patches from nodejs. Update node.js to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
nodejs node.js >= 12.0.0, < 12.22.2 Affected
siemens sinec_infrastructure_network_services >= 0, < 1.0.1.1 Affected

Frequently Asked Questions

What is CVE-2021-22918?

CVE-2021-22918 is a medium-severity vulnerability affecting nodejs node.js. It was published on July 12, 2021 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2021-22918?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-22918?

Check the references section for vendor advisories and patches from nodejs. Update node.js to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-22918?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-22918 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.