CVE-2023-2727
JSON

6.5medium

Bypassing policies imposed by the ImagePolicyWebhook admission plugin

Severity
6.5medium CVSS:3.1 by kubernetes
Exploit likelihood
1.24% (higher than 69% of CVEs)
Published
Last changed
Assigned by
kubernetes
Also known as
GHSA-qc2g-gmh6-95p4GO-2023-1891

Description

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.

Affected

Product or packageVersionsReported by
Kubernetes Kubernetesfrom v1.24.14 up to <=, v1.25.0 - v1.25.10, v1.26.0 - v1.26.5, v1.27.0 - v1.27.2, up to 1.24.14, from 1.25.0 up to 1.25.10, from 1.26.0 up to 1.26.5, from 1.27.0 up to 1.27.2CVE List, NVD
k8s.io/kubernetes (Go)from 1.27.0 before 1.27.3, from 1.26.0 before 1.26.6, from 1.25.0 before 1.25.11, before 1.24.15GitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Vulnerable to policy bypass in kube-apiserver in k8s.io/kubernetes

References

https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8mailing-list, web
https://github.com/kubernetes/kubernetes/issues/118640issue-tracking, web
http://www.openwall.com/lists/oss-security/2023/07/06/2mailing-list, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20230803-0004/
https://nvd.nist.gov/vuln/detail/CVE-2023-2727advisory
https://github.com/kubernetes/kubernetes/pull/118356web
https://github.com/kubernetes/kubernetes/pull/118471web
https://github.com/kubernetes/kubernetes/pull/118473web
https://github.com/kubernetes/kubernetes/pull/118474web
https://github.com/kubernetes/kubernetes/pull/118512web
https://github.com/kubernetes/kubernetespackage
https://security.netapp.com/advisory/ntap-20230803-0004web

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-2727 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-qc2g-gmh6-95p4 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1891 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-2727 changed 2026-06-17Public domain