First published: Wed May 31 2023(Updated: )
A security issue was discovered in Kubernetes where users may be able to launch containers using images that are restricted by ImagePolicyWebhook when using ephemeral containers. Kubernetes clusters are only affected if the ImagePolicyWebhook admission plugin is used together with ephemeral containers. This issue affects kube-apiserver. Clusters are impacted by this vulnerability if: 1. The ImagePolicyWebhook admission plugin is used to restrict the use of certain images and 2. Pods using ephemeral containers.
Credit: jordan@liggitt.net jordan@liggitt.net
Affected Software | Affected Version | How to fix |
---|---|---|
Kubernetes Kubernetes | <=1.24.14 | |
Kubernetes Kubernetes | >=1.25.0<=1.25.10 | |
Kubernetes Kubernetes | >=1.26.0<=1.26.5 | |
Kubernetes Kubernetes | >=1.27.0<=1.27.2 | |
redhat/kube-apiserver | <1.27.3 | 1.27.3 |
redhat/kube-apiserver | <1.26.6 | 1.26.6 |
redhat/kube-apiserver | <1.25.11 | 1.25.11 |
redhat/kube-apiserver | <1.24.15 | 1.24.15 |
To mitigate this vulnerability, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2023-2727.
Kubernetes clusters are only affected if the ImagePolicyWebhook admission plugin is used together with ephemeral containers.
The severity of CVE-2023-2727 is medium, with a severity value of 6.5.
To fix CVE-2023-2727, users should update to Kubernetes versions 1.24.15, 1.25.11, 1.26.6, or 1.27.3 or later.
More information about CVE-2023-2727 can be found at the following references: [link1], [link2], [link3].