Update dependency net.sourceforge.pmd:pmd-core to v7.10.0 [SECURITY] #347
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.9.0
->7.10.0
GitHub Vulnerability Alerts
CVE-2025-23215
Summary
While rebuilding PMD Designer for Reproducible Builds and digging into issues, I found out that passphrase for
gpg.keyname=0xD0BF1D737C9A1C22
is included in jar published to Maven Central.Details
See https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/README.md
I removed 2 lines from https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.diffoscope but real content is:
PoC
Impact
After further analysis, the passphrase of the following two keys have been compromised:
94A5 2756 9CAF 7A47 AFCA BDE4 86D3 7ECA 8C2E 4C5B
: PMD Designer (Release Signing Key) [email protected]This key has been used since 2019 with the release of net.sourceforge.pmd:pmd-ui:6.14.0.
The following versions are signed with the same key: 6.16.0, 6.17.0, 6.19.0.
EBB2 41A5 45CB 17C8 7FAC B2EB D0BF 1D73 7C9A 1C22
: PMD Release Signing Key [email protected]This key has been used since 2020 with the release of net.sourceforge.pmd:pmd-ui:6.21.0
and all the other modules of PMD such as net.sourceforge.pmd:pmd-core:6.21.0.
This key has also been used for PMD 7, for the designer, e.g. net.sourceforge.pmd:pmd-designer:7.0.0
and net.sourceforge.pmd:pmd-core:7.0.0.
The versions between 6.21.0 and 7.9.0 are signed with this key.
Additionally the key has been used to sign the last release of PMD Eclipse Plugin 7.9.0.v20241227-1626-r.
The keys have been used exclusively for signing artifacts that we published to Maven Central under group id
net.sourceforge.pmd
and once for our pmd-eclipse-plugin. 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.
For future releases of PMD, PMD Designer and PMD Eclipse Plugin we use a new release signing key:
2EFA 55D0 785C 31F9 56F2 F87E A0B5 CA1A 4E08 6838
(PMD Release Signing Key [email protected]).Note, that the published artifacts in Maven Central under the group id
net.sourceforge.pmd
are notcompromised and the signatures are valid. No other past usages of the private key is known to the project
and no future use is possible due to the revocation. If anybody finds a past abuse of the private key,
please share with us.
Note, the module
net.sourceforge.pmd:pmd-ui
has been renamed tonet.sourceforge.pmd:pmd-designer
since PMD 7, so there won't be a fixed version forpmd-ui
.Fixes
References
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.