CVE-2021-31597
Last modified
CVE-2021-31597 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. 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.. EPSS estimates a 2.06% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xmlhttprequest-Ssl Project | Xmlhttprequest-Ssl | < 1.6.1 |
References
- https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2Patch, Third Party Advisory
- https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1Patch, Release Notes, Third Party Advisory
- https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txtExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210618-0004/Third Party Advisory
- https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2Patch, Third Party Advisory
- https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1Patch, Release Notes, Third Party Advisory
- https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txtExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210618-0004/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31597?
How severe is CVE-2021-31597?
How do I fix CVE-2021-31597?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31584Sipwise C5 NGCP www_csc version 3.6.4 up to and including pl…8.8
- CVE-2021-31585Accellion Kiteworks before 7.3.1 allows a user with Admin pr…6.7
- CVE-2021-31586Accellion Kiteworks before 7.4.0 allows an authenticated use…8.8
- CVE-2021-31589A cross-site scripting (XSS) vulnerability has been reported…6.1
- CVE-2021-3159A stored cross site scripting (XSS) vulnerability in the /sy…5.4
- CVE-2021-31590PwnDoc all versions until 0.4.0 (2021-08-23) has incorrect J…8.8
- CVE-2021-31598An issue was discovered in libezxml.a in ezXML 0.8.6. The fu…7.5
- CVE-2021-31599An issue was discovered in Hitachi Vantara Pentaho through 9…8.8
- CVE-2021-3160Deserialization of untrusted data in the login page of ASSUW…9.8
- CVE-2021-31600An issue was discovered in Hitachi Vantara Pentaho through 9…4.3
- CVE-2021-31601An issue was discovered in Hitachi Vantara Pentaho through 9…6.5
- CVE-2021-31602An issue was discovered in Hitachi Vantara Pentaho through 9…7.5
Are you affected by CVE-2021-31597?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
