CVE-2021-31597

CRITICAL9.4EPSS 0.18%

Improper Certificate Validation in xmlhttprequest-ssl

Published: 5/24/2021Modified: 11/8/2023
Also known as:GHSA-72mh-269x-7mh5

Description

The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate validation by default, because rejectUnauthorized (when the property exists but is undefined) is considered to be false within the https.request function of Node.js. In other words, no certificate is ever rejected.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

References (5)