{"answers":{"affected":"6 open source packages ship an affected version, including net.sourceforge.pmd:pmd-core, net.sourceforge.pmd:pmd-designer and net.sourceforge.pmd:pmd-ui.","exploited":"There is no known exploitation of CVE-2025-23215 in the wild and no public exploit code.","fix":"Upgrade net.sourceforge.pmd:pmd-core to 7.10.0 or later.","what":"CVE-2025-23215 is a critical vulnerability in pmd, published on 31 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-23215 and fix it if it is affected.\n\nWhat it is: CVE-2025-23215 is a critical vulnerability in pmd, published on 31 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-23215 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- net.sourceforge.pmd:pmd-core (Maven): affected from 6.21.0; fixed in 7.10.0\n- net.sourceforge.pmd:pmd-core (Maven): affected from 6.21.0; fixed in 7.10.0\n- net.sourceforge.pmd:pmd-designer (Maven): affected from 7.0.0; fixed in 7.10.0\n- net.sourceforge.pmd:pmd-designer (Maven): affected from 7.0.0; fixed in 7.10.0\n- net.sourceforge.pmd:pmd-ui (Maven): affected from 6.14.0 up to 6.19.0; no fix listed\n- net.sourceforge.pmd:pmd-ui (Maven): affected from 6.14.0 up to 6.19.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-23215/ (Markdown: https://insights.sbomify.com/CVE-2025-23215/index.md)","id":"CVE-2025-23215","markdown":"https://insights.sbomify.com/CVE-2025-23215/index.md","name":"CVE-2025-23215","record":{"aliases":["GHSA-88m4-h43f-wx84"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java static code analyzer","requires_auth":"none","summary":"Attackers can potentially compromise release signing keys due to exposed passphrases, undermining software supply chain integrity for PMD users.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"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/U:Clear","version":"4.0"},"cwes":[{"id":"CWE-540","name":"Inclusion of Sensitive Information in Source Code"},{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PMD Designer's release key passphrase (GPG) available on Maven Central in cleartext","id":"CVE-2025-23215","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"hardcoded_credentials","year":"2025"},"n_packages":6,"n_references":3,"next":{"headline":"Argo CD does not scrub secret values from patch errors","id":"CVE-2025-23216"},"packages":[{"ecosystem":"Maven","fixed":["7.10.0"],"introduced":["6.21.0"],"last_affected":[],"package":"net.sourceforge.pmd:pmd-core","purl":null,"source":"GHSA-88m4-h43f-wx84"},{"ecosystem":"Maven","fixed":["7.10.0"],"introduced":["6.21.0"],"last_affected":[],"package":"net.sourceforge.pmd:pmd-core","purl":"pkg:maven/net.sourceforge.pmd/pmd-core","source":"GHSA-88m4-h43f-wx84"},{"ecosystem":"Maven","fixed":["7.10.0"],"introduced":["7.0.0"],"last_affected":[],"package":"net.sourceforge.pmd:pmd-designer","purl":null,"source":"GHSA-88m4-h43f-wx84"},{"ecosystem":"Maven","fixed":["7.10.0"],"introduced":["7.0.0"],"last_affected":[],"package":"net.sourceforge.pmd:pmd-designer","purl":"pkg:maven/net.sourceforge.pmd/pmd-designer","source":"GHSA-88m4-h43f-wx84"},{"ecosystem":"Maven","fixed":[],"introduced":["6.14.0"],"last_affected":["6.19.0"],"package":"net.sourceforge.pmd:pmd-ui","purl":null,"source":"GHSA-88m4-h43f-wx84"},{"ecosystem":"Maven","fixed":[],"introduced":["6.14.0"],"last_affected":["6.19.0"],"package":"net.sourceforge.pmd:pmd-ui","purl":"pkg:maven/net.sourceforge.pmd/pmd-ui","source":"GHSA-88m4-h43f-wx84"}],"prev":{"headline":"Cosmos userbase checking vulnerability","id":"CVE-2025-23214"},"products":["pmd"],"published":"2025-01-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-04","vendors":["pmd"]},"summary":"Attackers can potentially compromise release signing keys due to exposed passphrases, undermining software supply chain integrity for PMD users.","url":"https://insights.sbomify.com/CVE-2025-23215/"}