Skip to main content
No exploitation reportedFix available

CVE-2023-2727

No exploitation reported by the sources we read.

  • Published2023-07-03
  • Fixed in1.27.3 · 1.26.6 · 1.25.11 · 1.24.15
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-07-0321:15CVE publishedNVD

Versions per branch

OSV · NVD
k8s.io/kubernetes
BranchAffectedFixed in
1.27≥ 1.27.0, < 1.27.31.27.3
1.26≥ 1.26.0, < 1.26.61.26.6
1.25≥ 1.25.0, < 1.25.111.25.11
1.24< 1.24.151.24.15
Kubernetes
BranchAffectedFixed in
1.24≤ 1.24.14no fix published
1.25≥ 1.25.0, ≤ 1.25.10no fix published
1.26≥ 1.26.0, ≤ 1.26.5no fix published
1.27≥ 1.27.0, ≤ 1.27.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As kubernetes, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Kubernetesother versions: not affected
    Affected
    • ≥ v1.24.14, ≤ <=no fix statedsemver
    • = v1.25.0 - v1.25.10no fix stated
    • = v1.26.0 - v1.26.5no fix stated
    • = v1.27.0 - v1.27.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-08-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • afterburnRed Hat:openshift:4.14::el9all versions · fixed in 0:5.4.3-1.rhaos4.14.el9and 4 other packages
  • bpftoolRed Hat:openshift:4.14::el9all versions · fixed in 0:7.0.0-284.36.1.el9_2and 1 other package
  • buildahRed Hat:openshift:4.14::el9all versions · fixed in 1:1.29.1-10.1.rhaos4.14.el9and 4 other packages
  • buildahRed Hat:openshift:4.14::el8all versions · fixed in 1:1.29.1-10.1.rhaos4.14.el8and 4 other packages
  • butaneRed Hat:openshift:4.14::el8all versions · fixed in 0:0.19.0-1.1.rhaos4.14.el8and 3 other packages
  • catchRed Hat:openshift:4.14::el9all versions · fixed in 0:3.3.2-1.el9and 3 other packages
  • conmonRed Hat:openshift:4.14::el9all versions · fixed in 3:2.1.7-3.1.rhaos4.14.el9and 2 other packages
  • conmonRed Hat:openshift:4.14::el8all versions · fixed in 3:2.1.7-3.1.rhaos4.14.el8and 2 other packages

140 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2023:5008 Red Hat Product Security7 products fixed

    Red Hat Security Advisory: Red Hat build of MicroShift 4.14.0 security update

  • RHSA-2023:5009 Red Hat Product Security1,028 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update

Full record on NVD

Fix

  1. Update k8s.io/kubernetes to 1.27.3 · 1.26.6 · 1.25.11 · 1.24.15
  2. Vendor fix Red Hat Product Security RHSA-2023:5008 · 7 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2023:5009 · 1,028 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.14/release_notes/ocp-4-1…
  4. Workaround from the vendor Red Hat Product Security RHSA-2023:5008 · 7 productsThis issue can be mitigated by applying the patch provided for the kube-apiserver component. This patch prevents ephemeral containers from using an image that is restricted by ImagePolicyWebhook. Note: Validation webhooks, (such as Gatekeeper <https://open-policy-agent.github.io/gatekeeper-library…

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-11-25
  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • CNAweakness (CWE)CWE-20known since 2026-10-23
  • FIRST EPSSEPSS score1.1 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2023-07-05

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Published
2023-07-03
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-qc2g-gmh6-95p4

Frequently asked questions

What is CVE-2023-2727?

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.

Is CVE-2023-2727 actively exploited?

Active exploitation of CVE-2023-2727 has not been confirmed. Its EPSS score was 1.1% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-2727?

CVE-2023-2727 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

Running k8s.io/kubernetes? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record