{"id":"CVE-2023-2727","published":"2023-07-03T20:05:04Z","modified":"2025-02-13T16:45:04Z","title":"Bypassing policies imposed by the ImagePolicyWebhook admission plugin","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01134,"percentile":0.67273,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8","tags":["mailing-list"]},{"url":"https://github.com/kubernetes/kubernetes/issues/118640","tags":["issue-tracking"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/06/2","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230803-0004/","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":13.45},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[">= v1.24.14, <= <=","v1.25.0 - v1.25.10","v1.26.0 - v1.26.5","v1.27.0 - v1.27.2"]}],"solutions":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Prior to upgrading, this vulnerability can be mitigated by running validation webhooks (such as Gatekeeper and Kyverno) to enforce the same restrictions for ephemeral containers."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-554","name":"Functionality Bypass"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-25T17:43:56.206309Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":[">=1.27.0, <1.27.3",">=1.26.0, <1.26.6",">=1.25.0, <1.25.11","<1.24.15"],"patched":["1.27.3","1.26.6","1.25.11","1.24.15"],"from":["GHSA-qc2g-gmh6-95p4","GO-2023-1891"],"provenance":"source"}],"summary":{"text":"A flaw in Kubernetes lets users bypass policies enforced by the ImagePolicyWebhook admission plugin when launching ephemeral containers, so restricted images can still be run. An attacker needs network access to the cluster's API and a privileged authenticated account (high privileges required), and the cluster is only affected if ImagePolicyWebhook is used together with ephemeral containers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:43Z"},"euvd":{"id":"EUVD-2023-2130","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-25743","published":"2022-01-07","fixed":"1.26.0-alpha.3","kev":false},{"cve":"CVE-2024-0793","published":"2024-11-17","fixed":"1.27.0-alpha.1","kev":false},{"cve":"CVE-2023-2431","published":"2023-06-16","fixed":"1.27.2","kev":false,"link":{"from":"CVE-2023-2431","to":"CVE-2023-2727","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.27.2","toFixed":"1.27.3","daysApart":17}]}},{"cve":"CVE-2023-2727","published":"2023-07-03","fixed":"1.27.3","kev":false},{"cve":"CVE-2023-2728","published":"2023-07-03","fixed":"1.27.3","kev":false},{"cve":"CVE-2023-3676","published":"2023-10-31","fixed":"1.28.1","kev":false,"link":{"from":"CVE-2023-2727","to":"CVE-2023-3676","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.27.3","toFixed":"1.27.5","daysApart":120}]}},{"cve":"CVE-2023-3955","published":"2023-10-31","fixed":"1.28.1","kev":false,"link":{"from":"CVE-2023-2727","to":"CVE-2023-3955","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.27.3","toFixed":"1.27.5","daysApart":120}]}}],"package":"Go:k8s.io/kubernetes"}}