CVE-2023-26053
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.0% in the next 30 days (EPSS).
- Severity: 6.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-829
- Record status
- Modified
Affected
- Gradle < 6.9.4
- Gradle < 7.6.1
Attack profile CVSS 3.1 · 6.6
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-26053.md and follow it. Check whether this project is affected by CVE-2023-26053. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf
References
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf
- https://security.netapp.com/advisory/ntap-20230413-0002/
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf
- https://security.netapp.com/advisory/ntap-20230413-0002/