Container-to-guest code execution via exposed root device
Published Jun 10, 2020 · Updated Sep 17, 2024
Privilege management flaw in Kata Containers 1.9 and earlier, 1.10 before 1.10.5, and 1.11 before 1.11.1 allows local users to execute guest code. The agent omits the guest root NVDIMM partition from container device-cgroup restrictions, so a CAP_MKNOD workload can discover its device numbers, create a device node, and overwrite guest executables such as kata-agent or libc with debugfs. With DAX, modified pages reach guest processes immediately; without DAX, exploitation requires memory pressure to force rereads and can fail under container memory limits.
Summary
What happened
Privilege management flaw in Kata Containers 1.9 and earlier, 1.10 before 1.10.5, and 1.11 before 1.11.1 allows local users to execute guest code. The agent omits the guest root NVDIMM partition from container device-cgroup restrictions, so a CAP_MKNOD workload can discover its device numbers, create a device node, and overwrite guest executables such as kata-agent or libc with debugfs. With DAX, modified pages reach guest processes immediately; without DAX, exploitation requires memory pressure to force rereads and can fail under container memory limits.
The record
- CVE
- CVE-2020-2023
- Published
- Jun 10, 2020
- Updated
- Sep 17, 2024
- Vendor
- Kata Containers
- Product
- Kata Containers
- Classifications
- CWE-250, T1611
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 10, 2020CVE publishedPublication date reported by the CVE source.
- Sep 17, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.10 <1.10.5
- Affected versionversion=1.11 <1.11.1
- Affected versionversion=1 <=1.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Guest root filesystem device access reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo