All reports
Low

nodejs: Incomplete validation of tls rejectUnauthorized parameter

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-22939

Probability of exploitation in the next 30 days: 14.73%

FIRST EPSS · 2026-11-24

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.

A flaw was found in Node.js. If the Node.js HTTPS API is used incorrectly and "undefined" is passed for the "rejectUnauthorized" parameter, no error is returned, and the connections to servers with an expired certificate are accepted. The highest threat from this vulnerability is to integrity.