CVE-2026-22865 (CNNVD-202601-2721)
中文标题:
Gradle 安全漏洞
英文标题:
Gradle's failure to disable repositories failing to answer 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. An exception like NoHttpResponseException can indicate transient errors. If the errors persist after a maximum number of retries, Gradle would continue to the next repository. This behavior could allow an attacker to disrupt the service of a repository and leverage another repository to serve malicious artifacts. This attack requires the attacker to have control over a repository after the disrupted repository. 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:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
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-22865 |
2026-01-17 02:19:59 | 2026-01-17 06:00:11 |
| NVD | nvd_CVE-2026-22865 |
2026-01-17 03:00:05 | 2026-01-17 06:00:15 |
| CNNVD | cnnvd_CNNVD-202601-2721 |
2026-01-26 02:10:01 | 2026-01-25 18:11:48 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-2721
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']