CWE
20
Advisory Published
CVE Published
Updated

CVE-2023-2727: Bypassing policies imposed by the ImagePolicyWebhook admission plugin

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 SoftwareAffected VersionHow 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

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2023-2727.

  • How does this vulnerability affect Kubernetes clusters?

    Kubernetes clusters are only affected if the ImagePolicyWebhook admission plugin is used together with ephemeral containers.

  • What is the severity of CVE-2023-2727?

    The severity of CVE-2023-2727 is medium, with a severity value of 6.5.

  • How can I fix CVE-2023-2727?

    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.

  • Where can I find more information about CVE-2023-2727?

    More information about CVE-2023-2727 can be found at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203