【低危】uu_mknod 安全更新(GHSA-r9hw-mj3w-phcq)
安全情报快照 · 风险级别:低危 · CVSS:3.4 · CVE-2026-35361 · GHSA-r9hw-mj3w-phcq
先看结论
uu_mknod存在安全风险,< 0.6.0 受影响,建议升级至 0.6.0。
影响范围
| 生态 | 组件 | 受影响版本 | 首个修复版本 |
|---|---|---|---|
| rust | uu_mknod |
< 0.6.0 | 0.6.0 |
处置建议
优先将 uu_mknod 升级至 0.6.0 或更高版本;升级前请结合业务依赖完成兼容性验证。
上游技术详情(原文)
uutils calls mknod before setting the SELinux context (GNU uses setfscreatecon first, labeling atomically). If set_selinux_security_context fails, cleanup uses std::fs::remove_dir, which cannot remove device nodes or FIFOs, leaving the mislabeled node behind.
Impact: on SELinux-enforcing systems the node is created with the wrong context; the command reports failure but leaves a mislabeled device node that may bypass mandatory access control, and orphaned nodes can persist across reboots. Recommendation: use setfscreatecon before mknod, abort on failure, and use remove_file for cleanup.
Remediation: Acknowledged by Canonical.
Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.58. Credit: Zellic.
来源与许可
- GitHub Advisory GHSA-r9hw-mj3w-phcq
- https://github.com/uutils/coreutils/security/advisories/GHSA-r9hw-mj3w-phcq
- https://nvd.nist.gov/vuln/detail/CVE-2026-35361
- https://github.com/uutils/coreutils/pull/10582
- https://github.com/uutils/coreutils/commit/42b2ad83cdcf6e959ecb378c5040c60d9c64becf
- https://github.com/uutils/coreutils/releases/tag/0.6.0
本页自动同步 GitHub Advisory Database 的公开数据,并保留上游原文供核验;不宣称原创分析。数据许可:CC-BY-4.0。
评论
登录 后参与讨论。
还没有评论,来说两句。