CVE-2026-22816
Beskrivelse
Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. When resolving dependencies in versions before 9.3.0, some exceptions were not treated as fatal errors and would not cause a repository to be disabled. If a build encountered one of these exceptions, Gradle would continue to the next repository in the list and potentially resolve dependencies from a different repository. If a Gradle build used an unresolvable host name, Gradle would continue to work as long as all dependencies could be resolved from another repository. An unresolvable host name could be caused by allowing a repository's domain name registration to lapse or typo-ing the real domain name. This behavior could allow an attacker to register a service under the host name used by the build and serve malicious artifacts. The attack requires the repository to be listed before others in the build configuration. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-01-16
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
0.1 %
høyere enn 5 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Gradle | Gradle | < 8.14.4 | Berørt |
| Gradle | Gradle | ≥ 9.0.0, < 9.3.0 | Berørt |
Svakhetstype
-
CWE-494: Download of Code Without Integrity Check
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.
-
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1055: Process Injection
- T1072: Software Deployment Tools
- T1176: Software Extensions
- T1185: Browser Session Hijacking
- T1195.001: Compromise Software Dependencies and Development Tools
- T1195.002: Compromise Software Supply Chain
- T1505.004: IIS Components
- T1505.005: Terminal Services DLL
- T1574.006: Dynamic Linker Hijacking
- T1574.013: KernelCallbackTable
- T1620: Reflective Code Loading
Referanser
- https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a
- https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82
Relatert hos Berigo
Artikler
-
Bare én av de 91 sårbarhetene Spring har rettet, er kritisk
Samme produkt
2026-08-25
Spring har rettet 91 sårbarheter fordelt på en rekke delprosjekter, og varslene på spring.io er datert 20. august. Spring har merket én av dem kritis…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.