CVE-2021-31597
highpriority · track · 39EPSS 0.020 · 81 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.4
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (29)
Products and version ranges known to be affected.
- Red Hat OpenShift Container Platform release 4.21.17all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_release_4.21.17
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1229Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere SchwachstellenDeutsch2026-04-21csaf · cert_bundDE
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.
- GHSA-72mh-269x-7mh5Improper Certificate Validation in xmlhttprequest-ssl2021-05-24ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-31597cnnvd
- https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2cnnvd
- https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-31597cnnvd
- https://people.kingsds.network/wesgarland/xmlcnnvd
- https://security.netapp.com/advisory/ntap-20210618-0004/cnnvd
- https://vigilance.fr/vulnerability/Node-js-xmlcnnvd
- https://www.ibm.com/blogs/psirt/security-bulletin-ibm-cloud-transformation-advisor-is-affected-by-node-js-vulnerability-6/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan