Use of a weak cryptographic algorithm in GradleGHSA-hhr2-f668-ff2w
Fix: gradle/gradle#10543GHSA-hhr2-f668-ff2w is a Broken Cryptographic Algorithm vulnerability in org.gradle:gradle-core. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.gradle:gradle-core — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.gradle:gradle-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The PGP signing plugin in Gradle before 6.0 relies on the SHA-1 algorithm, which might allow an attacker to replace an artifact with a different one that has the same SHA-1 message digest, a related issue to CVE-2005-4900.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.gradle:gradle-core | all versions | 6.0org.gradle:gradle-core:6.0 |
Affected Products
gradlegradleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.gradle:gradle-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.gradle:gradle-core to 6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hhr2-f668-ff2w is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-hhr2-f668-ff2w in your dependencies?
Find it across Maven, including transitive dependencies.