{"id":"CVE-2021-31597","aliases":["AZL-45213","CLSA-2026-1785204344","GHSA-72mh-269x-7mh5","UBUNTU-CVE-2021-31597"],"summary":"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 fa...","published_at":"2021-04-22T23:52:48Z","modified_at":"2026-11-19T05:24:34Z","products":[],"rating":{"severity":"critical","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.020390000194311142,"percentile":0.8154000043869019,"date":"2026-11-19T00:00:00Z"},"priority":11.4,"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.","affected_stack":[],"affected_other":[{"ecosystem":"Azure Linux:3","package":"js-jquery","purl":"pkg:rpm/azure-linux/js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}],"provider":"osv","source":"AZL-45213","relation":"self"},{"ecosystem":"NVD","package":"xmlhttprequest-ssl_project:xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"fixed":["1.6.1"],"provider":"nvd","source":"CVE-2021-31597","relation":"self"},{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.5-tuxcare.0"},{"fixed":"1.5.5-tuxcare.1"}]}],"versions":["1.5.5"],"fixed":["1.5.5-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1772064638","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.3-tuxcare.0"},{"fixed":"1.5.3-tuxcare.1"}]}],"versions":["1.5.3"],"fixed":["1.5.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1773188115","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.1-tuxcare.0"},{"fixed":"1.5.1-tuxcare.1"}]}],"versions":["1.5.1"],"fixed":["1.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1785204344","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-xmlhttprequest-ssl","purl":"pkg:deb/ubuntu/node-xmlhttprequest-ssl@1.6.0-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1"],"provider":"osv","source":"UBUNTU-CVE-2021-31597","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-xmlhttprequest-ssl","purl":"pkg:deb/ubuntu/node-xmlhttprequest-ssl@1.6.0-1?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1"],"provider":"osv","source":"UBUNTU-CVE-2021-31597","relation":"self"},{"ecosystem":"npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"fixed":["1.6.1"],"provider":"osv","source":"GHSA-72mh-269x-7mh5","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"not_affected","packages":["system"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-31597"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-31597"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-1229","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1229","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-04-21T22:00:00Z","modified_at":"2026-08-02T22:00:00Z","summary":"Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Atlassian Bamboo, Atlassian Bitbucket, Atlassian Confluence und Atlassian Jira ausnutzen, um beliebigen Programmcode auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren oder offenzulegen oder Cross-Site-Scripting-Angriffe durchzuführen.\n\nBamboo ist ein Werkzeug zur kontinuierlichen Integration und Bereitstellung, das automatisierte Builds, Tests und Freigaben in einem einzigen Arbeitsablauf verbindet.\r\nBitbucket ist ein Git-Server zur Sourcecode-Versionskontrolle.\r\nConfluence ist eine kommerzielle Wiki-Software.\r\nJira ist eine Webanwendung zur Softwareentwicklung.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-1229"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1229.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1229"},{"type":"WEB","url":"https://confluence.atlassian.com/security/security-bulletin-april-21-2026-1770913890.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10209"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10205"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10215"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10206"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10204"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10211"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10214"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10213"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:11070"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7271910"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20034"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:33371"},{"type":"WEB","url":"http://linux.oracle.com/errata/ELSA-2026-47058.html"}]},{"provider":"osv","source_id":"CLSA-2026-1772064638","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1772064638","published_at":"2026-08-04T14:52:07Z","modified_at":"2026-10-15T09:47:46.3705Z","summary":"TuxCare security update for xmlhttprequest-ssl (2 CVEs)","details":"TuxCare rebuilt xmlhttprequest-ssl to address 2 CVEs. Fixed in 1.5.5-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.5-tuxcare.0"},{"fixed":"1.5.5-tuxcare.1"}]}],"versions":["1.5.5"],"fixed":["1.5.5-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1772064638","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1773188115","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1773188115","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:28.649409Z","summary":"TuxCare security update for xmlhttprequest-ssl (2 CVEs)","details":"TuxCare rebuilt xmlhttprequest-ssl to address 2 CVEs. Fixed in 1.5.3-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.3-tuxcare.0"},{"fixed":"1.5.3-tuxcare.1"}]}],"versions":["1.5.3"],"fixed":["1.5.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1773188115","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2021-31597","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-31597","license":"CC-BY-4.0","published_at":"2021-04-22T23:52:48Z","modified_at":"2024-08-03T23:03:33.466Z","summary":"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 fa...","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":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210618-0004/"}]},{"provider":"nvd","source_id":"CVE-2021-31597","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597","severity":[],"affected":[{"ecosystem":"NVD","package":"xmlhttprequest-ssl_project:xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"fixed":["1.6.1"],"provider":"nvd","source":"CVE-2021-31597","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"AZL-45213","relation":"self","url":"https://osv.dev/vulnerability/AZL-45213","license":"MIT","published_at":"2021-04-23T00:15:08Z","modified_at":"2026-11-19T05:24:34Z","summary":"CVE-2021-31597 affecting package js-jquery 3.5.0-4","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"AZL-45213"}],"affected":[{"ecosystem":"Azure Linux:3","package":"js-jquery","purl":"pkg:rpm/azure-linux/js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}],"provider":"osv","source":"AZL-45213","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597"}]},{"provider":"osv","source_id":"CLSA-2026-1785204344","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1785204344","published_at":"2026-08-04T14:52:50Z","modified_at":"2026-10-15T19:13:11.326262Z","summary":"TuxCare security update for xmlhttprequest-ssl (1 CVE)","details":"TuxCare rebuilt xmlhttprequest-ssl to address 1 CVE. Fixed in 1.5.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.1-tuxcare.0"},{"fixed":"1.5.1-tuxcare.1"}]}],"versions":["1.5.1"],"fixed":["1.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1785204344","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-72mh-269x-7mh5","relation":"self","url":"https://osv.dev/vulnerability/GHSA-72mh-269x-7mh5","license":"CC-BY-4.0","published_at":"2021-05-24T19:52:55Z","modified_at":"2023-11-08T04:05:49.810123Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"GHSA-72mh-269x-7mh5"}],"affected":[{"ecosystem":"npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"fixed":["1.6.1"],"provider":"osv","source":"GHSA-72mh-269x-7mh5","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1"},{"type":"WEB","url":"https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210618-0004"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-31597","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-31597","license":"CC-BY-SA-4.0","published_at":"2021-04-23T00:15:00Z","modified_at":"2025-10-24T04:50:18Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"UBUNTU-CVE-2021-31597"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-31597"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"node-xmlhttprequest-ssl","purl":"pkg:deb/ubuntu/node-xmlhttprequest-ssl@1.6.0-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1"],"provider":"osv","source":"UBUNTU-CVE-2021-31597","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-xmlhttprequest-ssl","purl":"pkg:deb/ubuntu/node-xmlhttprequest-ssl@1.6.0-1?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1"],"provider":"osv","source":"UBUNTU-CVE-2021-31597","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-31597"},{"type":"REPORT","url":"https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2"},{"type":"REPORT","url":"https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt"},{"type":"REPORT","url":"https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-31597"}]},{"provider":"redhat-vex","source_id":"CVE-2021-31597","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-31597","license":"CC-BY-4.0","published_at":"2021-04-23T00:00:00Z","modified_at":"2026-08-04T04:41:55Z","summary":"xmlhttprequest-ssl: SSL certificate validation disabled by default","details":"A flaw was found in xmlhttprequest-ssl for Node.js. SSL certificate validation is disabled by default, due to rejectUnauthorized (when the property exists but is undefined) being considered to be false within the https.request function of Node.js (thus, no certificate is ever rejected). The highest threat from this vulnerablity is to data confidentiality and integrity as well as system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"CVE-2021-31597"},{"type":"Red Hat","score":"Important","source":"CVE-2021-31597"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"not_affected","packages":["system"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-31597"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-31597"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-31597.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-31597"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1953057"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-31597"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597"}]}],"references":[{"type":"WEB","url":"https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1"},{"type":"WEB","url":"https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210618-0004/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210618-0004"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-31597"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-31597"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-31597.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-31597"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1953057"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-1229","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1229","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-02T22:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1772064638","url":"https://osv.dev/vulnerability/CLSA-2026-1772064638","modified_at":"2026-10-15T09:47:46.3705Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1773188115","url":"https://osv.dev/vulnerability/CLSA-2026-1773188115","modified_at":"2026-10-15T09:47:28.649409Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-31597","url":"https://www.cve.org/CVERecord?id=CVE-2021-31597","license":"CC-BY-4.0","modified_at":"2024-08-03T23:03:33.466Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-31597","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31597","relation":"self"},{"provider":"osv","source_id":"AZL-45213","url":"https://osv.dev/vulnerability/AZL-45213","license":"MIT","modified_at":"2026-11-19T05:24:34Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1785204344","url":"https://osv.dev/vulnerability/CLSA-2026-1785204344","modified_at":"2026-10-15T19:13:11.326262Z","relation":"self"},{"provider":"osv","source_id":"GHSA-72mh-269x-7mh5","url":"https://osv.dev/vulnerability/GHSA-72mh-269x-7mh5","license":"CC-BY-4.0","modified_at":"2023-11-08T04:05:49.810123Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-31597","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-31597","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:18Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-31597","url":"https://access.redhat.com/security/cve/CVE-2021-31597","license":"CC-BY-4.0","modified_at":"2026-08-04T04:41:55Z","relation":"self"}]}
