Skip to content
Fencer Intel
medium 5.9

CVE-2019-16370 json

Use of a weak cryptographic algorithm in Gradle

published 7y ago modified 4mo ago also GHSA-hhr2-f668-ff2w , EUVD-2022-4164

cvss
5.9
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

The PGP signing plugin in Gradle before 6.0 relies on the SHA-1 algorithm, which might allow an attacker to replace an artifact with a different one that has the same SHA-1 message digest, a related issue to CVE-2005-4900.

Patch / fix

  • maven org.gradle:gradle-core 6.0
  • gradle gradle 6.0
  • gradle Debian 14, Debian 13, Debian 12 4.4.1-18

debian advisories DEBIAN-CVE-2019-16370

  • gradle Ubuntu Pro 18.04 LTS 4.4.1-5ubuntu2~18.04+esm1

ubuntu advisories UBUNTU-CVE-2019-16370

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gradle openSUSE Tumbleweed 4.4.1-7.2

opensuse advisories openSUSE-SU-2024:10817-1

Is CVE-2019-16370 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-16370 updated cvss 5.9

gradle: PGP signing plugin security bypass

  • Red Hat JBoss Enterprise Web Server 3 gradle gradle
    affected: no fix planned “Out of support scope”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/gradle/gradle/pull/10543 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
maven org.gradle:gradle-core
<6.0
6.0

Classification

Weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.