CVE-2023-0229 is a medium-severity (CVSS 6.3) Improper Input Validation vulnerability in github.com/openshift/apiserver-library-go. A fix is available for github.com/openshift/apiserver-library-go — see the affected versions and patch details below.
github.com/openshift/apiserver-library-go Improper Input Validation vulnerability
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-0229.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/openshift/apiserver-library-goReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/openshift/apiserver-library-go | all versions | 0.0.0-20230120221150-cefee9e0162bgo get github.com/openshift/apiserver-library-go@v0.0.0-20230120221150-cefee9e0162b |
Affected Products
openshiftredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/openshift/apiserver-library-go, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/openshift/apiserver-library-go to 0.0.0-20230120221150-cefee9e0162b or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-0229 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw does not affect OpenShift versions 4.10 and earlier.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 4.12 | microshift-0:4.12.6-202303012057.p0.g50997a2.assembly.4.12.6.el8 | RHBA-2023:1037 |
| Red Hat OpenShift Container Platform 4.13 | openshift-0:4.13.0-202304211155.p0.gb404935.assembly.stream.el8 | RHSA-2023:1325 |
Frequently Asked Questions
Is CVE-2023-0229 in your dependencies?
Find it across Go, including transitive dependencies.