PT-2021-19437

CVE-2021-31597

·

Published

2021-04-13

·

Updated

2026-11-11

Description by

CVSS 3.1
9.4
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions xmlhttprequest-ssl versions prior to 1.6.1
Description The issue concerns the disabling of SSL certificate validation by default in the xmlhttprequest-ssl package for Node.js. This occurs because the rejectUnauthorized property, when it exists but is undefined, is considered false within the https.request function of Node.js, resulting in no certificate being rejected.
Recommendations For versions prior to 1.6.1, update to version 1.6.1 or later to enable proper SSL certificate validation. As a temporary workaround, consider setting the rejectUnauthorized property to true to ensure certificate validation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-72MH-269X-7MH5
AZL-45213
Found an issue in the description? Have something to add? Feel free to write us 👾