Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. net.sourceforge.pmd/pmd-core
  4. ›
  5. CVE-2019-7722

CVE-2019-7722: Improper Restriction of XML External Entity Reference

May 14, 2022 (updated August 15, 2022)

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.)

References

  • github.com/advisories/GHSA-57qj-79gh-69w8
  • github.com/pmd/pmd/issues/1650
  • nvd.nist.gov/vuln/detail/CVE-2019-7722

Code Behaviors & Features

Detect and mitigate CVE-2019-7722 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.8.1

Fixed versions

  • 6.0.0

Solution

Upgrade to version 6.0.0 or above.

Impact 8.1 HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/net.sourceforge.pmd/pmd-core/CVE-2019-7722.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.