CVE-2021-31597

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:*

History

08 Dec 2021, 20:27

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20210618-0004/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20210618-0004/ - Third Party Advisory
References (MISC) https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 - Release Notes, Third Party Advisory (MISC) https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 - Patch, Release Notes, Third Party Advisory

18 Jun 2021, 10:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20210618-0004/ -

19 May 2021, 15:00

Type Values Removed Values Added
CVSS v2 : 5.8
v3 : 7.4
v2 : 7.5
v3 : 9.4

30 Apr 2021, 19:29

Type Values Removed Values Added
References (MISC) https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt - (MISC) https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt - Exploit, Third Party Advisory
References (MISC) https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 - (MISC) https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 - Patch, Third Party Advisory
References (MISC) https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 - (MISC) https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 - Release Notes, Third Party Advisory
CWE CWE-295
CPE cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.8
v3 : 7.4

23 Apr 2021, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-23 00:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-31597

Mitre link : CVE-2021-31597

CVE.ORG link : CVE-2021-31597


JSON object : View

Products Affected

xmlhttprequest-ssl_project

  • xmlhttprequest-ssl
CWE
CWE-295

Improper Certificate Validation