HIGH 7.5

CVE-2021-33813

XML External Entity (XXE) Injection in JDOM

Description

An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request. As a workaround, to avoid external entities being expanded, one can call builder.setExpandEntities(false) and they won't be expanded.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.jdom » jdom
<= 2.0.2
-
org.jdom » jdom2
< 2.0.6.1
2.0.6.1

Blast radius

2affected artifacts
38affected versions
18,463dependent artifacts (est.)
1,012,977dependent versions

73% of the dependent artifacts (13,507) still pull an affected version in their latest release.

DepthDependent versions
Direct
43,686
2 hops
303,085
3 hops
298,134
4 hops
221,043
5 hops
99,270
6 hops
47,759

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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Weboracle.com
Weboracle.com
Weblists.fedoraproject.org
Weblists.fedoraproject.org
Weblists.debian.org
Weblists.debian.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Webgithub.com
Webgithub.com
Webalephsecurity.com