Commit 213e1d3
authored
security(maven): π‘οΈ major build to v7 (#55)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [net.sourceforge.pmd:pmd-core](https://pmd.github.io/)
([source](https://redirect.github.com/pmd/pmd)) | `6.55.0` -> `7.10.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
### GitHub Vulnerability Alerts
####
[CVE-2025-23215](https://redirect.github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84)
### Summary
While rebuilding [PMD
Designer](https://redirect.github.com/pmd/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:
```
βββ net/sourceforge/pmd/util/fxdesigner/designer.properties
β @​@​ -1,14 +1,12 @​@​
β #Properties
β checkstyle.plugin.version=3.3.1
β checkstyle.version=10.14.0
β -gpg.keyname=0xD0BF1D737C9A1C22
β -gpg.passphrase=evicx0nuPfvSVhVyeXpw
β jar.plugin.version=3.3.0
β -java.version=11.0.22
β +java.version=11.0.25
β javadoc.plugin.version=3.6.3
β jflex-output=/home/runner/work/pmd-designer/pmd-designer/target/generated-sources/jflex
β junit5.version=5.8.2
β kotest.version=5.5.5
β kotlin.version=1.7.20
β local.lib.repo=/home/runner/work/pmd-designer/pmd-designer/lib/mvn-repo
β openjfx.scope=provided
```
### PoC
```
./rebuild.sh content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.buildspec
```
### Impact
After further analysis, the passphrase of the following two keys have
been compromised:
1. `94A5 2756 9CAF 7A47 AFCA BDE4 86D3 7ECA 8C2E 4C5B`: PMD Designer
(Release Signing Key) <releases@pmd-code.org>
This key has been used since 2019 with the release of
[net.sourceforge.pmd:pmd-ui:6.14.0](https://repo.maven.apache.org/maven2/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.
2. `EBB2 41A5 45CB 17C8 7FAC B2EB D0BF 1D73 7C9A 1C22`: PMD Release
Signing Key <releases@pmd-code.org>
This key has been used since 2020 with the release of
[net.sourceforge.pmd:pmd-ui:6.21.0](https://repo.maven.apache.org/maven2/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](https://repo.maven.apache.org/maven2/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](https://repo.maven.apache.org/maven2/net/sourceforge/pmd/pmd-designer/7.0.0/)
and
[net.sourceforge.pmd:pmd-core:7.0.0](https://repo.maven.apache.org/maven2/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](https://redirect.github.com/pmd/pmd-eclipse-plugin/releases/tag/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 <releases@pmd-code.org>).
Note, that the published artifacts in Maven Central under the group id
`net.sourceforge.pmd` are **not**
compromised 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 to
`net.sourceforge.pmd:pmd-designer` since PMD 7, so there won't be a
fixed version for `pmd-ui`.
### Fixes
* Reworked build script in PMD Designer to not include all system
properties
*
pmd/pmd-designer@1548f5f
*
pmd/pmd-designer@e87a453
### References
*
[GHSA-88m4-h43f-wx84](https://redirect.github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84)
* [CVE-2025-23215](https://www.cve.org/CVERecord?id=CVE-2025-23215)
*
[reproducible-central](https://redirect.github.com/jvm-repo-rebuild/reproducible-central?tab=readme-ov-file#reproducible-builds-for-maven-central-repository)
---
### PMD Designer's release key passphrase (GPG) available on Maven
Central in cleartext
[CVE-2025-23215](https://nvd.nist.gov/vuln/detail/CVE-2025-23215) /
[GHSA-88m4-h43f-wx84](https://redirect.github.com/advisories/GHSA-88m4-h43f-wx84)
<details>
<summary>More information</summary>
#### Details
##### Summary
While rebuilding [PMD
Designer](https://redirect.github.com/pmd/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:
```
βββ net/sourceforge/pmd/util/fxdesigner/designer.properties
β @​@​ -1,14 +1,12 @​@​
β #Properties
β checkstyle.plugin.version=3.3.1
β checkstyle.version=10.14.0
β -gpg.keyname=0xD0BF1D737C9A1C22
β -gpg.passphrase=evicx0nuPfvSVhVyeXpw
β jar.plugin.version=3.3.0
β -java.version=11.0.22
β +java.version=11.0.25
β javadoc.plugin.version=3.6.3
β jflex-output=/home/runner/work/pmd-designer/pmd-designer/target/generated-sources/jflex
β junit5.version=5.8.2
β kotest.version=5.5.5
β kotlin.version=1.7.20
β local.lib.repo=/home/runner/work/pmd-designer/pmd-designer/lib/mvn-repo
β openjfx.scope=provided
```
##### PoC
```
./rebuild.sh content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.buildspec
```
##### Impact
After further analysis, the passphrase of the following two keys have
been compromised:
1. `94A5 2756 9CAF 7A47 AFCA BDE4 86D3 7ECA 8C2E 4C5B`: PMD Designer
(Release Signing Key) <releases@pmd-code.org>
This key has been used since 2019 with the release of
[net.sourceforge.pmd:pmd-ui:6.14.0](https://repo.maven.apache.org/maven2/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.
2. `EBB2 41A5 45CB 17C8 7FAC B2EB D0BF 1D73 7C9A 1C22`: PMD Release
Signing Key <releases@pmd-code.org>
This key has been used since 2020 with the release of
[net.sourceforge.pmd:pmd-ui:6.21.0](https://repo.maven.apache.org/maven2/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](https://repo.maven.apache.org/maven2/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](https://repo.maven.apache.org/maven2/net/sourceforge/pmd/pmd-designer/7.0.0/)
and
[net.sourceforge.pmd:pmd-core:7.0.0](https://repo.maven.apache.org/maven2/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](https://redirect.github.com/pmd/pmd-eclipse-plugin/releases/tag/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 <releases@pmd-code.org>).
Note, that the published artifacts in Maven Central under the group id
`net.sourceforge.pmd` are **not**
compromised 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 to
`net.sourceforge.pmd:pmd-designer` since PMD 7, so there won't be a
fixed version for `pmd-ui`.
##### Fixes
* Reworked build script in PMD Designer to not include all system
properties
*
pmd/pmd-designer@1548f5f
*
pmd/pmd-designer@e87a453
##### References
*
[GHSA-88m4-h43f-wx84](https://redirect.github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84)
* [CVE-2025-23215](https://www.cve.org/CVERecord?id=CVE-2025-23215)
*
[reproducible-central](https://redirect.github.com/jvm-repo-rebuild/reproducible-central?tab=readme-ov-file#reproducible-builds-for-maven-central-repository)
#### Severity
- CVSS Score: Unknown
- Vector String:
`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/MVC:N/MVI:N/MVA:N/U:Clear`
#### References
-
[https://github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84](https://redirect.github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84)
-
[https://nvd.nist.gov/vuln/detail/CVE-2025-23215](https://nvd.nist.gov/vuln/detail/CVE-2025-23215)
-
[https://github.com/pmd/pmd-designer/commit/1548f5f27ba2981b890827fecbd0612fa70a0362](https://redirect.github.com/pmd/pmd-designer/commit/1548f5f27ba2981b890827fecbd0612fa70a0362)
-
[https://github.com/pmd/pmd-designer/commit/e87a45312753ec46b3e5576c6f6ac1f7de2f5891](https://redirect.github.com/pmd/pmd-designer/commit/e87a45312753ec46b3e5576c6f6ac1f7de2f5891)
-
[https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/README.md](https://redirect.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://redirect.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://redirect.github.com/jvm-repo-rebuild/reproducible-central?tab=readme-ov-file#reproducible-builds-for-maven-central-repository)
- [https://github.com/pmd/pmd](https://redirect.github.com/pmd/pmd)
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-88m4-h43f-wx84) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### Configuration
π
**Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
π¦ **Automerge**: Enabled.
β» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
π» **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/DelineaXPM/dsv-sdk-java).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpZ25vcmUtc3RhbGUiLCJzZWN1cml0eSJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 3c9f74a commit 213e1d3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments