CVE-2021-22939 Security feature bypass in Node

Medium 5.3 Published Updated

Incorrect API usage allows bypassing TLS certificate validation, accepting expired certificates and enabling man-in-the-middle attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-22939?

CVE-2021-22939 is a medium-severity vulnerability in Debian Debian Linux, published on 16 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2021-22939?

2 open source packages ship an affected version, including node and node-min. It affects 8 products.

PackageAffectedFixed in
node BitnamiFrom 12.0.012.22.5, 14.17.5, 16.6.2
node-min BitnamiFrom 12.0.012.22.5, 14.17.5, 16.6.2

Products include Debian Debian Linux, Netapp Nextgen Api, Nodejs Node.js, Oracle Graalvm, Oracle Jd Edwards Enterpriseone Tools, Oracle Mysql Cluster and 2 more.

How do I fix CVE-2021-22939?

Upgrade node to a fixed version for your release line: 12.22.5, 14.17.5 or 16.6.2.

Is CVE-2021-22939 being exploited?

There is no known exploitation of CVE-2021-22939 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-22939, AZL-6744, BIT-node-2021-22939, BIT-node-min-2021-22939, CLEANSTART-2026-AI64836, CLEANSTART-2026-NR88355 and 3 more.

Is CVE-2021-22939 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free