HIGH 8.1

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)

ArtifactAffected versionsFixed in
net.sourceforge.pmd » pmd-core
< 6.0.0
6.0.0

Blast radius

1affected artifacts
34affected versions
570dependent artifacts (est.)
16,564dependent versions

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

DepthDependent versions
Direct
750
2 hops
268
3 hops
376
4 hops
6,042
5 hops
4,859
6 hops
4,269

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com