CRITICAL 9.4

CVE-2021-31597

Improper Certificate Validation in xmlhttprequest-ssl

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » xmlhttprequest-sslvia npm xmlhttprequest-ssl
< 1.6.1
1.6.1
org.webjars.npm » xmlhttprequest-sslvia npm xmlhttprequest-ssl
< 1.6.1
1.6.1

Blast radius

1affected artifacts
3affected versions
7dependent artifacts (est.)
11dependent versions

14% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
3
2 hops
1
3 hops
2
4 hops
4
5 hops
1

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV