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)
| Artifact | Affected versions | Fixed 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.
| Depth | Dependent 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
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-shade-plugin18,801 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- com.android.tools.build » gradle2,197 usages
- io.quarkus » quarkus-extension-maven-plugin1,796 usages
- io.quarkus » quarkus-maven-plugin1,484 usages
- org.apache.kafka » kafka1,450 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- org.codehaus.plexus » plexus-component-metadata1,099 usages
- net.sf.saxon » Saxon-HE855 usages
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.
