CVE Tools

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.

Check it yourself

Nuclei · 1 templateOpenVAS · 33 checks

e.g. Node.js HTTPS rejectUnauthorized Undefined Handling · OID 1.3.6.1.4.1.25623.1.0.117776

Run the check

Published Updated Sources: CVE.org, NVD, BDU, CSAF

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

Check it yourselfA free Nuclei and OpenVAS check exists for this CVE. Run it against your hosts.
Is your organisation exposed?Request a free pilot to see which of your systems are exposed. Scope is agreed before testing.

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.

EPSS97th
Public exploit
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.

  1. OpenVAS check added
  2. EPSS band changelow → moderate
  3. Public exploit / PoCsource: othernuclei check added
  4. Patch availablerecord updated
  5. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS: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

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

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.