CVE-2025-23215
PMD Designer's release key passphrase (GPG) available on Maven Central in cleartext
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
PMD is an extensible multilanguage static code analyzer. The passphrase for the PMD and PMD Designer release signing keys are included in jar published to Maven Central. The private key itself is not known to have been compromised itself, but given its passphrase is, it must also be considered potentially compromised. As a mitigation, both compromised keys have been revoked so that no future use of the keys are possible. Note, that the published artifacts in Maven Central under the group id net.sourceforge.pmd are not compromised and the signatures are valid.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | net.sourceforge.pmd:pmd-core, net.sourceforge.pmd:pmd-designer, net.sourceforge.pmd:pmd-ui | 7.10.0 |
Show all 3 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | net.sourceforge.pmd:pmd-core | 7.10.0 |
| maven::GitHub Security Advisory Maven | net.sourceforge.pmd:pmd-designer | 7.10.0 |
| maven::GitHub Security Advisory Maven | net.sourceforge.pmd:pmd-ui | no fix listed |
References
- https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/README.md
- https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.diffoscope
- https://github.com/jvm-repo-rebuild/reproducible-central?tab=readme-ov-file#reproducible-builds-for-maven-central-repository
- https://github.com/pmd/pmd
- https://github.com/pmd/pmd-designer/commit/1548f5f27ba2981b890827fecbd0612fa70a0362
- https://github.com/pmd/pmd-designer/commit/e87a45312753ec46b3e5576c6f6ac1f7de2f5891
- https://github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84
- https://nvd.nist.gov/vuln/detail/CVE-2025-23215