GitHub Advisory Database
GHSA-6978-vg2j-cc9q
Improper Privilege Management and Execution with Unnecessary Privileges in Kata Containers
Details
Kata Containers doesn't restrict containers from accessing the guest's root filesystem device. Malicious containers can exploit this to gain code execution on the guest and masquerade as the kata-agent. This issue affects Kata Containers 1.11 versions earlier than 1.11.1; Kata Containers 1.10 versions earlier than 1.10.5; and Kata Containers 1.9 and earlier versions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/kata-containers/agent | All versions before 1.9.1 (fixed in 1.9.1) |
| Go | github.com/kata-containers/agent | From 1.10.0 before 1.10.5 (fixed in 1.10.5) |
| Go | github.com/kata-containers/agent | From 1.11.0 before 1.11.1 (fixed in 1.11.1) |
| Go | github.com/kata-containers/runtime | All versions before 1.9.1 (fixed in 1.9.1) |
| Go | github.com/kata-containers/runtime | From 1.10.0 before 1.10.5 (fixed in 1.10.5) |
| Go | github.com/kata-containers/runtime | From 1.11.0 before 1.11.1 (fixed in 1.11.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2023
- https://github.com/kata-containers/agent/issues/791
- https://github.com/kata-containers/runtime/issues/2488
- https://github.com/kata-containers/agent/pull/792
- https://github.com/kata-containers/runtime/pull/2477
- https://github.com/kata-containers/runtime/pull/2487
- https://github.com/kata-containers
- https://github.com/kata-containers/runtime/releases/tag/1.10.5
- https://github.com/kata-containers/runtime/releases/tag/1.11.1