CVE-2023-1260
Kube-apiserver: privesc
Check your servers for CVE-2023-1260
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-1260 affects openshift, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
An authentication bypass vulnerability was discovered in kube-apiserver. This issue could allow a remote, authenticated attacker who has been given permissions "update, patch" the "pods/ephemeralcontainers" subresource beyond what the default is. They would then need to create a new pod or patch one that they already have access to. This might allow evasion of SCC admission restrictions, thereby gaining control of a privileged pod.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.56%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 75.9% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-288 Authentication Bypass Using an Alternate Path or Channel
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
github.com/openshift/apiserver-library-go
package
github.com/openshift/apiserver-library-go |
unaffected a994128188486d2dce99a528fbcc017d276081e0 and later
|
|
Red Hat OpenShift Container Platform 4.10
package
openshift |
unaffected 0:4.10.0-202308291228.p0.g26fdcdf.assembly.stream.el7 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.11
package
openshift |
unaffected 0:4.11.0-202307200925.p0.ga9da4a8.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift |
unaffected 0:4.12.0-202307040929.p0.g1485cc9.assembly.stream.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift |
unaffected 0:4.13.0-202307132344.p0.gf245ced.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
microshift |
unaffected 0:4.14.0-202310261440.p0.g1586504.assembly.4.14.0.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4
package
openshift4/ose-openshift-apiserver-rhel7 |
unaffected the record does not list versions
|
|
Red Hat OpenShift Container Platform 4
package
openshift4/ose-pod |
unaffected the record does not list versions
|
|
Red Hat OpenShift Container Platform 4
package
openshift4/ose-tests |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of openshift and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openshift
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-1260 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-1260RHEL, Rocky, Alma, Fedora
rpm -q openshift
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-1260Alpine
apk list --installed | grep -i openshiftWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-1260
trivy image --scanners vuln IMAGE | grep CVE-2023-1260
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2023:3976 access.redhat.com · vendor advisory
- RHSA-2023:4093 access.redhat.com · vendor advisory
- RHSA-2023:4312 access.redhat.com · vendor advisory
- RHSA-2023:4898 access.redhat.com · vendor advisory
- RHSA-2023:5008 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2023-1260 access.redhat.com · vdb entry
- RHBZ#2176267 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/advisories/GHSA-92hx-3mh6-hc49 github.com
- https://security.netapp.com/advisory/ntap-20231020-0010/ security.netapp.com
Source: the record CVE-2023-1260 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse