p PatchFirst

CVE-2023-26053

CVE-2023-26053 · Gradle usage of long IDs for PGP keys opens potential for collision attacks

CVSS 6.6 · Medium · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • gradleNo fix published
  • gradle Alpine 3.17Update to 7.6.1-r0
  • gradle Alpine 3.18Update to 7.6.1-r0
  • gradle Alpine 3.19Update to 7.6.1-r0
  • and 13 more

Check the installed version:

apk list -I -o gradle

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • gradle

    Versions
    • >= 6.2, < 6.9.4: Affected
    • >= 7.0.0, < 7.6.1: Affected

    No fix published

  • gradle Alpine 3.17

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.18

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.19

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.20

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.21

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.22

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.23

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Alpine 3.24

    Affected ranges
    • ECOSYSTEM: ≥ 7.0.0, < 7.6.1-r0

    Update to 7.6.1-r0

  • gradle Ubuntu 16.04 LTS

    Versions
    • 2.5-3
    • 2.7-1
    • 2.7-2
    • 2.7-3
    • 2.10-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu Pro 18.04 LTS

    Versions
    • 3.2.1-3build2
    • 3.2.1-4
    • 3.2.1-5
    • 3.4.1-4
    • 3.4.1-6
    • 3.4.1-7ubuntu1
    All versions (8)
    • 4.4.1-5ubuntu2~18.04
    • 4.4.1-5ubuntu2~18.04+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 20.04 LTS

    Versions
    • 4.4.1-8
    • 4.4.1-9
    • 4.4.1-10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 22.04 LTS

    Versions
    • 4.4.1-13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 24.04 LTS

    Versions
    • 4.4.1-18
    • 4.4.1-20
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 25.10

    Versions
    • 4.4.1-22
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 26.10

    Versions
    • 4.4.1-22ubuntu1
    • 4.4.1-23
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gradle Ubuntu 26.04 LTS

    Versions
    • 4.4.1-22
    • 4.4.1-22build1
    • 4.4.1-22ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →