CVE-2021-31597
CVSS V2 High 7.5
CVSS V3 Critical 9.4
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.
Overview
- CVE ID
- CVE-2021-31597
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-04-23T00:15:08
- Last Modified Date
- 2021-12-08T20:27:09
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:* | 1 | OR | 1.6.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- LOW
- Base Score
- 9.4
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.5
References
Reference URL | Reference Tags |
---|---|
https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt | Exploit Third Party Advisory |
https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 | Patch Third Party Advisory |
https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 | Patch Release Notes Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210618-0004/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-31597 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31597 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:42:40 | Added to TrackCVE | |||
2022-12-06 02:41:31 | 2021-04-23T00:15Z | 2021-04-23T00:15:08 | CVE Published Date | updated |
2022-12-06 02:41:31 | 2021-12-08T20:27:09 | CVE Modified Date | updated | |
2022-12-06 02:41:31 | Analyzed | Vulnerability Status | updated |