Inclusion of Functionality from Untrusted Control Sphere Affecting gradle package, versions <7.6.1-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.34% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-GRADLE-8486055
  • published6 Dec 2024
  • disclosed2 Mar 2023

Introduced: 2 Mar 2023

CVE-2023-26053  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 gradle to version 7.6.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gradle package and not the gradle package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1