Advisory

GHSA-72mh-269x-7mh5

Also known as: CVE-2021-31597

Summary

Improper Certificate Validation in xmlhttprequest-ssl

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-24 19:52 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

xmlhttprequest-ssl

npm · All systems

Affected

  • introduced 0, fixed 1.6.1 (semver)

Fixed versions

1.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences