Host code execution via guest-controlled bind mount
Published Jun 10, 2020 · Updated Sep 16, 2024
Link following 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 host code. The kata-runtime leaves its host shared directory writable by the guest, then follows a guest-created symlink while bind-mounting a container root filesystem. The attacker must control a guest before container creation; redirecting the mount onto /bin, /lib, or another host path enables host execution or a service interruption.
Summary
What happened
Link following 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 host code. The kata-runtime leaves its host shared directory writable by the guest, then follows a guest-created symlink while bind-mounting a container root filesystem. The attacker must control a guest before container creation; redirecting the mount onto /bin, /lib, or another host path enables host execution or a service interruption.
The record
- CVE
- CVE-2020-2026
- Published
- Jun 10, 2020
- Updated
- Sep 16, 2024
- Vendor
- Kata Containers
- Product
- Kata Containers
- Classifications
- CWE-59, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 10, 2020CVE publishedPublication date reported by the CVE source.
- Sep 16, 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.
Weakness, pattern, technique
Public exploit references
- Upstream symlink mount reproduction procedureproof 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