Access Control Bypass Affecting github.com/kubernetes/kubernetes/plugin/pkg/admission/imagepolicy package, versions <1.24.15>=1.25.0 <1.25.11>=1.26.0 <1.26.6>=1.27.0 <1.27.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUBERNETESKUBERNETESPLUGINPKGADMISSIONIMAGEPOLICY-5710383
  • published15 Jun 2023
  • disclosed15 Jun 2023
  • creditUnknown

Introduced: 15 Jun 2023

CVE-2023-2727  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/kubernetes/plugin/pkg/admission/imagepolicy to version 1.24.15, 1.25.11, 1.26.6, 1.27.3 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass when users may be able to launch containers using images that are restricted by ImagePolicyWebhook when using ephemeral containers.

Note:

Clusters are impacted by this vulnerability if all of the following are true:

  1. The ImagePolicyWebhook admission plugin is used to restrict use of certain images.
  2. Pods are using ephemeral containers.

CVSS Scores

version 3.1