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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-0980 | 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. |
Github GHSA |
GHSA-72mh-269x-7mh5 | Improper Certificate Validation in xmlhttprequest-ssl |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T23:03:33.466Z
Reserved: 2021-04-22T00:00:00.000Z
Link: CVE-2021-31597
No data.
Status : Modified
Published: 2021-04-23T00:15:08.283
Modified: 2024-11-21T06:05:57.877
Link: CVE-2021-31597
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA