Node.js HTTPS API Accepts Connections to Servers with Expired Certificates due to Incorrect Usage

Node.js HTTPS API Accepts Connections to Servers with Expired Certificates due to Incorrect Usage

CVE-2021-22939 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

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.

Learn more about our Cis Benchmark Audit For Server Software.