GHSA-72mh-269x-7mh5

Suggest an improvement
Source
https://github.com/advisories/GHSA-72mh-269x-7mh5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-72mh-269x-7mh5/GHSA-72mh-269x-7mh5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-72mh-269x-7mh5
Aliases
Published
2021-05-24T19:52:55Z
Modified
2023-11-08T04:05:49.810123Z
Severity
  • 9.4 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-04-23T00:15:00Z",
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-20T21:59:29Z"
}
References

Affected packages

npm / xmlhttprequest-ssl

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.1