{"id":"CVE-2023-26053","published":"2023-03-02T03:11:31Z","modified":"2025-03-05T21:15:36Z","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","vendor":"gradle","product":"gradle","tier":"tail","description":{"text":"Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00994,"percentile":0.63463,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0002/","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.69},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"gradle","affectedVersions":[{"vendor":"gradle","product":"gradle","versions":[">= 6.2, < 6.9.4",">= 7.0.0, < 7.6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-05T21:15:32.231102Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-29930","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gradle-cve-2022-23630","parents":[{"from":"CVE-2022-23630","to":"CVE-2023-26053","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/ChecksumAndSignatureVerificationOverride.java"],"commits":["https://github.com/gradle/gradle/commit/88ab9b652933bc3b2e3161b31ad8b8f4f0516351","https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9"],"basis":"shared function","functions":["ChecksumAndSignatureVerificationOverride"]}]}]}}