All vulnerabilities

Servers and applications

CVE-2021-22939

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.

Severity
Medium 5.3
Published
16 Aug 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
12.22.5, 14.17.5, 16.6.2
Sources
NVD

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 12.0.0 before 12.22.5
  • From 14.0.0 before 14.17.5
  • From 16.0.0 before 16.6.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22939
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22939