Skip to content
OpenAdvisories
Medium · 6.3 CVE-2023-0229 EUVD-2023-0333GHSA-5465-xc2j-6p84GO-2023-1549

github.com/openshift/apiserver-library-go Improper Input Validation vulnerability

Published Jan 25, 2023 · Updated Apr 1, 2025 · Assigned by redhat

Description

A flaw was found in github.com/openshift/apiserver-library-go, used in OpenShift 4.12 and 4.11, that contains an issue that can allow low-privileged users to set the seccomp profile for pods they control to "unconfined." By default, the seccomp profile used in the restricted-v2 Security Context Constraint (SCC) is "runtime/default," allowing users to disable seccomp for pods they can create and modify.

Affected products

VendorProductAffectedFixed
— github.com/openshift/apiserver-library-go openshift/apiserver-library-go 4.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Openshift Ironic 4 python-werkzeug +1 2.0.3-4.el9 RHSA-2023:1325
Red Hat OpenShift 4 buildah +1 1:1.29.1-1.rhaos4.13.el9 RHSA-2023:1325
Red Hat OpenShift 4 cri-o 1.26.3-3.rhaos4.13.git641290e.el9 RHSA-2023:1325
Red Hat OpenShift 4 haproxy +1 2.2.24-3.rhaos4.13.el8 RHSA-2023:1325
Red Hat OpenShift 4 microshift +3 4.12.6-202303012057.p0.g50997a2.assembly.4.12.6.el8 RHBA-2023:1037
Red Hat OpenShift 4 openshift +1 4.13.0-202304211155.p0.gb404935.assembly.stream.el8 RHSA-2023:1325
Red Hat OpenShift 4 openshift-clients +1 4.13.0-202303241616.p0.g92b1a3d.assembly.stream.el8 RHSA-2023:1325
Red Hat OpenShift 4 podman +6 3:4.4.1-3.rhaos4.13.el8 RHSA-2023:1325
Red Hat OpenShift 4 python-werkzeug +1 1.0.1-3.el8ost RHSA-2023:1325
Red Hat OpenShift 4 skopeo +1 2:1.10.0-1.rhaos4.13.el9 RHSA-2023:1325

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openshift/apiserver-library-go < 0.0.0-20230120221150-cefee9e0162b 0.0.0-20230120221150-cefee9e0162b GHSA-5465-xc2j-6p84
Go github.com/openshift/apiserver-library-go < 0.0.0-20230119093715-30f75d79e424 0.0.0-20230119093715-30f75d79e424 GO-2023-1549

Advisories 3

References