CVE-2019-16370 json
Use of a weak cryptographic algorithm in Gradle
published 2019-09-16 7 y ago modified 2026-06-17 4 mo 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
- github.com/gradle/gradle@425b2b7 commit
- github.com/gradle/gradle#10543 pull request
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 gradleaffected: 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-08).
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
-
github.com
/gradle/gradle/pull/10543
web, exploit, patch, third-party-advisory
-
github.com
/gradle/gradle/commit/425b2b7a50cd84106a77cdf1ab665c89c6b14d2f
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16370
advisory
Sources
- CVE List CVE-2019-16370
- GitHub Advisory GHSA-hhr2-f668-ff2w
- NVD CVE-2019-16370
Fencer Vulns 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.