CVE-2023-2727
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-2727 is a security vulnerability discovered in Kubernetes where users may be able to launch containers using images that are restricted by ImagePolicyWebhook when using ephemeral containers. The vulnerability was discovered and disclosed in July 2023, affecting Kubernetes clusters that use the ImagePolicyWebhook admission plugin together with ephemeral containers. The affected versions include kube-apiserver v1.27.0-v1.27.2, v1.26.0-v1.26.5, v1.25.0-v1.25.10, and versions up to v1.24.14 (Kubernetes Announce, GitHub Issue).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N. The vulnerability specifically affects the ImagePolicyWebhook admission plugin functionality when used in conjunction with ephemeral containers, allowing potential bypass of image restrictions (OSS Security, NetApp Advisory).

Impact

When successfully exploited, this vulnerability could lead to unauthorized container launches using restricted images, potentially compromising the security policies implemented through the ImagePolicyWebhook admission plugin. The impact is particularly significant for clusters that rely on ImagePolicyWebhook for enforcing image usage policies (GitHub Issue).

Mitigation and workarounds

The vulnerability has been patched in kube-apiserver versions v1.27.3, v1.26.6, v1.25.11, and v1.24.15. The patch prevents ephemeral containers from using images that are restricted by ImagePolicyWebhook. As an alternative mitigation, validation webhooks such as Gatekeeper and Kyverno can be used to enforce the same restrictions (OSS Security).

Community reactions

The vulnerability was reported by Stanislav Láznička and fixed by Rita Zhang. The Kubernetes Security Response Committee has rated this as a Medium severity issue, and various organizations including NetApp have issued security advisories to their customers regarding this vulnerability (NetApp Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management