Access Restriction Bypass Affecting k8s.io/kubernetes/plugin/pkg/admission/serviceaccount package, versions <1.24.15 >=1.25.0 <1.25.11 >=1.26.0 <1.26.6 >=1.27.0 <1.27.3
Threat Intelligence
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 ID SNYK-GOLANG-K8SIOKUBERNETESPLUGINPKGADMISSIONSERVICEACCOUNT-5710379
- published 15 Jun 2023
- disclosed 15 Jun 2023
- credit Unknown
Introduced: 15 Jun 2023
CVE-2023-2728 Open this link in a new tabHow to fix?
Upgrade k8s.io/kubernetes/plugin/pkg/admission/serviceaccount
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 Restriction Bypass where users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers.
Notes:
Clusters are impacted by this vulnerability if all of the following are true:
The ServiceAccount admission plugin is used. Most clusters should have this on by default as recommended in https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#serviceaccount
A service account uses the
kubernetes.io/enforce-mountable-secrets
annotation. This annotation is not added by default.Pods use ephemeral containers.