{"id":"CVE-2023-26053","state":"PUBLISHED","title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","description":"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.","publishedAt":"2023-03-02T03:11:31.488Z","updatedAt":"2025-03-05T21:15:36.343Z","severity":{"score":6.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["gradle gradle"],"affected":[{"vendor":"gradle","product":"gradle","versions":[{"version":">= 6.2, < 6.9.4","status":"affected"},{"version":">= 7.0.0, < 7.6.1","status":"affected"}]}],"references":["https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","https://security.netapp.com/advisory/ntap-20230413-0002/"],"weaknesses":["CWE-829"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26053.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26053","state":"PUBLISHED","datePublished":"2023-03-02T03:11:31.488Z","dateUpdated":"2025-03-05T21:15:36.343Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-02-17T22:44:03.150Z"},"containers":{"cna":{"title":"Gradle usage of long IDs for PGP keys opens potential for collision attacks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gradle","product":"gradle","versions":[{"version":">= 6.2, < 6.9.4","status":"affected"},{"version":">= 7.0.0, < 7.6.1","status":"affected"}]}],"references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","name":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","name":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0002/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-04-13T16:06:21.602Z"},"source":{"advisory":"GHSA-c724-3xg7-g3hf","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","name":"https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","name":"https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0002/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.583Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-05T21:15:32.231102Z","id":"CVE-2023-26053","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-05T21:15:36.343Z"}}]}}}