CVE-2019-7722
Improper Restriction of XML External Entity Reference in PMD
Description
PMD 5.8.1 and earlier processes XML external entities in ruleset files it parses as part of the analysis process, allowing attackers tampering it (either by direct modification or MITM attacks when using remote rulesets) to perform information disclosure, denial of service, or request forgery attacks. (PMD 6.x is unaffected because of a 2017-09-15 change.)
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.sourceforge.pmd » pmd-core | < 6.0.0 | 6.0.0 |
Blast radius
58% of the dependent artifacts (336) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 750 |
| 2 hops | 268 |
| 3 hops | 376 |
| 4 hops | 6,042 |
| 5 hops | 4,859 |
| 6 hops | 4,269 |
Most used dependents
- org.apache.maven.plugins » maven-pmd-plugin2,253 usages
- de.flapdoodle.embed » de.flapdoodle.embed.mongo572 usages
- com.lihaoyi » mill-scalalib320 usages
- net.sourceforge.pmd » pmd-java263 usages
- com.lihaoyi » mill-main215 usages
- com.powsybl » powsybl-iidm-impl212 usages
- org.openrewrite » rewrite-java207 usages
- guru.nidi » graphviz-java180 usages
- org.openrewrite.maven » rewrite-maven-plugin141 usages
- com.powsybl » powsybl-iidm-api137 usages
- org.apache.oozie » oozie-client134 usages
- org.kie.kogito » kogito-quarkus124 usages
- org.apache.oozie » oozie-core123 usages
- org.openrewrite » rewrite-maven110 usages
- com.powsybl » powsybl-iidm-test85 usages
Computed from the dependency graph of build 20261125.0317 (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
| Advisory | NVD CVE-2019-7722 | nvd.nist.gov |
| Package | pmd/pmd | github.com |
| Web | pmd/pmd issue #1650 | github.com |
