CVE-2026-22816 (CNNVD-202601-2722)
中文标题:
Gradle 安全漏洞
英文标题:
Gradle fails to disable repositories which can expose builds to malicious artifacts
漏洞描述
中文描述:
Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 9.3.0之前版本存在安全漏洞,该漏洞源于依赖解析时未将某些异常视为致命错误,可能导致从不同仓库解析恶意构件。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| gradle | gradle | < 9.3.0 | - | - |
cpe:2.3:a:gradle:gradle:<_9.3.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
HIGHCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-22816 |
2026-01-17 02:19:59 | 2026-01-17 06:00:11 |
| NVD | nvd_CVE-2026-22816 |
2026-01-17 03:00:05 | 2026-01-17 06:00:15 |
| CNNVD | cnnvd_CNNVD-202601-2722 |
2026-01-26 02:10:00 | 2026-01-25 18:11:48 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-2722
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']