GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2023-26053
Vulnerability from osv_ubuntu
Published
2023-03-02 04:15
Modified
2026-05-20 15:02
Summary
Details

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": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "2.10-1"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "2.10-1"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "2.10-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@2.10-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5-3",
        "2.7-1",
        "2.7-2",
        "2.7-3",
        "2.10-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-5ubuntu2~18.04+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "4.4.1-5ubuntu2~18.04",
        "4.4.1-5ubuntu2~18.04+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-10"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-10"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-10?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.4.1-8",
        "4.4.1-9",
        "4.4.1-10"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-13"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-13"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-13"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-13?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.4.1-13"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-20"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-20"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-20"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-20?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.4.1-18",
        "4.4.1-20"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-22"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-22"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-22"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-22?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.4.1-22"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gradle",
            "binary_version": "4.4.1-22ubuntu1"
          },
          {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-22ubuntu1"
          },
          {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-22ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "gradle",
        "purl": "pkg:deb/ubuntu/gradle@4.4.1-22ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.4.1-22",
        "4.4.1-22build1",
        "4.4.1-22ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2023-26053",
  "modified": "2026-05-20T15:02:30Z",
  "published": "2023-03-02T04:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-26053"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-26053"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-26053"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…