Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTcybWgtMjY5eC03bWg1

Improper Certificate Validation in xmlhttprequest-ssl

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.

Permalink: https://github.com/advisories/GHSA-72mh-269x-7mh5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTcybWgtMjY5eC03bWg1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 3 years ago
Updated: 5 months ago


CVSS Score: 9.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Identifiers: GHSA-72mh-269x-7mh5, CVE-2021-31597
References: Repository: https://github.com/mjwwit/node-XMLHttpRequest
Blast Radius: 56.7

Affected Packages

npm:xmlhttprequest-ssl
Dependent packages: 136
Dependent repositories: 1,076,748
Downloads: 16,723,816 last month
Affected Version Ranges: < 1.6.1
Fixed in: 1.6.1
All affected versions: 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.6.0
All unaffected versions: 1.6.1, 1.6.2, 1.6.3, 2.0.0, 2.1.0, 2.1.1