QID 377879
Date Published: 2023-01-30
QID 377879: Kubernetes Arbitrary File Access Vulnerability
Kubernetes is an open-source container-orchestration system for automating deployment, scaling, and management of containerized applications.
Affected version:
Kubernetes 1.3.x-1.6.x
Kubernetes 1.7.0-1.7.13
Kubernetes 1.8.0-1.8.8
Kubernetes 1.9.0-1.9.3
QID Detection Logic:(Authenticated)
The QID uses 'kubectl --version' command to check for vulnerable versions of Kubernetes
A specially crafted pod spec combined with malicious container behavior can allow read/write access to arbitrary files outside volumes specified in the pod including the hosts filesystem.
Workaround:
Action Required:
In addition to upgrading, PodSecurityPolicy objects designed to limit container permissions must completely disable hostPath volumes, as the allowedHostPaths feature does not restrict symlink creation and traversal. Future enhancements (tracked in issue #61043) are required to limit hostPath use to read only volumes or exact path matches before a PodSecurityPolicy can effectively restrict hostPath usage to a given subpath.
CVEs related to QID 377879
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| 60813 |
|