CVE-2021-22939
CVE-2021-22939 is a weak cert validation in NodeJS Node (CVSS 5.3, Medium).
Public exploit available. Not confirmed exploited in the wild yet. Fixed versions are out.
Public exploit: 1 sourceFix5 products6 fixed builds listed below
e.g. Node.js HTTPS rejectUnauthorized Undefined Handling · OID 1.3.6.1.4.1.25623.1.0.117776
What to do
Find your product and version, then upgrade to the build on the right.
- NodeJS NodeAffected: ≥ 4.0, < 4.*Upgrade to: 4.*Affected: ≥ 5.0, < 5.*Upgrade to: 5.*Affected: ≥ 6.0, < 6.*Upgrade to: 6.*Affected: ≥ 7.0, < 7.*Upgrade to: 7.* + 9 more branchesStated by: CVE record
- Nodejs Node.jsAffected: ≥ 12.0.0, < 12.22.5Upgrade to: 12.22.5Stated by: NVD
- Oracle Jd Edwards Enterpriseone ToolsAffected: ≤ 9.2.6.1Upgrade to: after 9.2.6.1Stated by: NVD
- Oracle Mysql ClusterAffected: ≤ 8.0.26Upgrade to: after 8.0.26Stated by: NVD
- Siemens Sinec Infrastructure Network ServicesAffected: < 1.0.1.1Upgrade to: 1.0.1.1Stated by: NVD
Versions as the sources state them. 6 more products have version data. Full version matrix after sign-in
SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.
What it is
From the CVE record
If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
15% chance of exploitation activity in the next 30 days, which ranks it in the 97th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- OpenVAS check added
- EPSS band changelow → moderate
- Public exploit / PoCsource: othernuclei check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 6 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scored 5.3 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- nodejs.org/en/blog/vulnerability/aug-2021-security-releases/
- hackerone.com/reports/1278254
- oracle.com/security-alerts/cpuoct2021.html
And 98 more references. See all after sign-in
Questions about CVE-2021-22939
- Is CVE-2021-22939 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2021-22939 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 15%.
- Which versions are affected by CVE-2021-22939?
- Node: ≥ 4.0, < 4.*; ≥ 5.0, < 5.*; ≥ 6.0, < 6.*. Node.js: ≥ 12.0.0, < 12.22.5. Jd Edwards Enterpriseone Tools: ≤ 9.2.6.1. 8 more products are listed in the record.
- How do I fix or mitigate CVE-2021-22939?
- Upgrade to a fixed build for your product branch: 4.*, 5.*, 6.*, 7.*. The advisory is on security.gentoo.org.
Last updated
Related articles
All articles- CVE-2025-3248: the Langflow endpoint that 'validates' your code by running it
- Cisco's rack-server controller sat below the OS — CVE-2026-20200 turns a "download my SSH key" button into root, with a public PoC already out
- The other Joomla RCE: how CVE-2026-48907 turns the JCE editor into a PHP webshell
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Node, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI