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-7mh5JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTcybWgtMjY5eC03bWg1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: about 1 year 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
EPSS Percentage: 0.00319
EPSS Percentile: 0.70174
Identifiers: GHSA-72mh-269x-7mh5, CVE-2021-31597
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-31597
- https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2
- https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1
- https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt
- https://security.netapp.com/advisory/ntap-20210618-0004/
- https://github.com/advisories/GHSA-72mh-269x-7mh5
Blast Radius: 56.7
Affected Packages
npm:xmlhttprequest-ssl
Dependent packages: 136Dependent repositories: 1,076,748
Downloads: 14,910,245 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, 2.1.2, 3.0.0, 3.1.0