CVE-2023-2728Kubernetes
Medium 6.5
Follow: this CVE · Kubernetes · Kubernetes We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Jul 3, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
What happens
Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.
What to do
- Apply the vendor's security update for Kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | k8s.io/kubernetes |
≥ 1.27.0 < 1.27.3 |
1.27.3 |
go get k8s.io/kubernetes@v1.27.3 |
| Go | k8s.io/kubernetes |
≥ 1.26.0 < 1.26.6 |
1.26.6 |
go get k8s.io/kubernetes@v1.26.6 |
| Go | k8s.io/kubernetes |
≥ 1.25.0 < 1.25.11 |
1.25.11 |
go get k8s.io/kubernetes@v1.25.11 |
| Go | k8s.io/kubernetes |
< 1.24.15 |
1.24.15 |
go get k8s.io/kubernetes@v1.24.15 |
| Go | k8s.io/kubernetes |
< 1.24.15 |
1.24.15 |
go get k8s.io/kubernetes@v1.24.15 |
| Go | k8s.io/kubernetes |
≥ 1.25.0 < 1.25.11 |
1.25.11 |
go get k8s.io/kubernetes@v1.25.11 |
| Go | k8s.io/kubernetes |
≥ 1.26.0 < 1.26.6 |
1.26.6 |
go get k8s.io/kubernetes@v1.26.6 |
| Go | k8s.io/kubernetes |
≥ 1.27.0 < 1.27.3 |
1.27.3 |
go get k8s.io/kubernetes@v1.27.3 |
Per OSV / GitHub Advisories (GHSA-cgcv-5272-97pr, GO-2023-1892). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | kubernetes | ≤ 1.24.14 |
| kubernetes | kubernetes | ≥ 1.25.0 ≤ 1.25.10 |
| kubernetes | kubernetes | ≥ 1.26.0 ≤ 1.26.5 |
| kubernetes | kubernetes | ≥ 1.27.0 ≤ 1.27.2 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update · Red Hat · RHSA-2023:5009 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- github.com Issue Tracking
- groups.google.com Mailing List
- security.netapp.com