CVE-2025-62725 (CNNVD-202510-3466)
中文标题:
Docker Compose 路径遍历漏洞
英文标题:
Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations
漏洞描述
中文描述:
Docker Compose是Docker开源的一个使用Docker定义和运行多容器应用程序。 Docker Compose存在路径遍历漏洞,该漏洞源于信任远程OCI compose构件中的路径信息,可能导致攻击者逃逸缓存目录并覆盖任意文件。
英文描述:
Docker Compose trusts the path information embedded in remote OCI compose artifacts. When a layer includes the annotations com.docker.compose.extends or com.docker.compose.envfile, Compose joins the attacker‑supplied value from com.docker.compose.file/com.docker.compose.envfile with its local cache directory and writes the file there. This affects any platform or workflow that resolves remote OCI compose artifacts, Docker Desktop, standalone Compose binaries on Linux, CI/CD runners, cloud dev environments is affected. An attacker can escape the cache directory and overwrite arbitrary files on the machine running docker compose, even if the user only runs read‑only commands such as docker compose config or docker compose ps. This issue is fixed in v2.40.2.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| docker | compose | < 2.40.2 | - | - |
cpe:2.3:a:docker:compose:<_2.40.2:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-62725 |
2025-11-11 15:23:33 | 2025-11-11 07:40:49 |
| NVD | nvd_CVE-2025-62725 |
2025-11-11 15:01:07 | 2025-11-11 07:48:35 |
| CNNVD | cnnvd_CNNVD-202510-3466 |
2025-11-11 15:13:00 | 2025-11-11 08:00:19 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 路径遍历
- cnnvd_id: 未提取 -> CNNVD-202510-3466
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']