SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

CRITICAL 9.4EPSS 2.06%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.06%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
9.4 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS
2.06% probability · 80th percentile
CISA KEV
Not listed
Weakness
CWE-295
Affected
xmlhttprequest-ssl project/xmlhttprequest-ssl
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.