CVE-2025-52565 (CNNVD-202511-495)

HIGH
中文标题:
runc 安全漏洞
英文标题:
container escape due to /dev/console mount and related races
CVSS分数: 8.4
发布时间: 2025-11-06 20:02:58
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

runc是Open Container Initiative开源的一款用于根据OCI规范生成和运行容器的CLI(命令行界面)工具。 runc 1.0.0-rc3版本至1.2.7版本、1.3.0-rc.1版本至1.3.2版本和1.4.0-rc.1版本至1.4.0-rc.2版本存在安全漏洞,该漏洞源于绑定挂载/dev/pts/$n到/dev/console时检查不足,可能导致拒绝服务或容器逃逸。

英文描述:

runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured for all containers that allocate a console). This happens after `pivot_root(2)`, so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern` (respectively). This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.

CWE类型:
CWE-61 CWE-363
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
opencontainers runc >= 1.0.0-rc3, < 1.2.8 - - cpe:2.3:a:opencontainers:runc:>=_1.0.0-rc3,_<_1.2.8:*:*:*:*:*:*:*
opencontainers runc >= 1.3.0-rc.1, < 1.3.3 - - cpe:2.3:a:opencontainers:runc:>=_1.3.0-rc.1,_<_1.3.3:*:*:*:*:*:*:*
opencontainers runc >= 1.4.0-rc.1, < 1.4.0-rc.3 - - cpe:2.3:a:opencontainers:runc:>=_1.4.0-rc.1,_<_1.4.0-rc.3:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r x_refsource_CONFIRM
cve.org
访问
https://github.com/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4 x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398 x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/9be1dbf4ac67d9840a043ebd2df5c68f36705d1d x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/aee7d3fe355dd02939d44155e308ea0052e0d53a x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64 x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/de87203e625cd7a27141fb5f2ad00a320c69c5e8 x_refsource_MISC
cve.org
访问
https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
8.4
CVSS向量: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
机密性
NONE
完整性
HIGH
可用性
NONE
后续系统影响 (Subsequent):
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-11-06 20:02:58
修改时间:
2025-11-06 21:32:19
创建时间:
2025-11-11 15:40:39
更新时间:
2025-11-11 16:00:22
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-52565 2025-11-11 15:23:27 2025-11-11 07:40:39
NVD nvd_CVE-2025-52565 2025-11-11 15:01:08 2025-11-11 07:48:27
CNNVD cnnvd_CNNVD-202511-495 2025-11-11 15:13:01 2025-11-11 08:00:22
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:22
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202511-495; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202511-495
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:27
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']