# CVE-2023-0229: github.com/openshift/apiserver-library-go Improper Input Validation vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-5465-xc2j-6p84, GO-2023-1549
- **Published:** 2023-01-25T00:00:00.000Z
- **Modified:** 2026-06-17T05:25:04.510Z

## Who should check

- Projects that depend on Go package github.com/openshift/apiserver-library-go (\< 0.0.0-20230120221150-cefee9e0162b)
- Anyone running github.com/openshift/apiserver-library-go openshift/apiserver-library-go 4.11

## 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 and fixed versions

- Go `github.com/openshift/apiserver-library-go`: affected \< 0.0.0-20230120221150-cefee9e0162b; fixed 0.0.0-20230120221150-cefee9e0162b, 0.0.0-20230119093715-30f75d79e424 (osv)
- github.com/openshift/apiserver-library-go: openshift/apiserver-library-go 4.11 (cvelist)

## Mitigation

- Upgrade github.com/openshift/apiserver-library-go to one of 0.0.0-20230120221150-cefee9e0162b, 0.0.0-20230119093715-30f75d79e424 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-0229. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-0229.md
Affected: github.com/openshift/apiserver-library-go < 0.0.0-20230120221150-cefee9e0162b
Fixed in: 0.0.0-20230120221150-cefee9e0162b, 0.0.0-20230119093715-30f75d79e424

Steps:
1. Search this machine and project for github.com/openshift/apiserver-library-go (Go), github.com/openshift/apiserver-library-go: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-0229 being exploited?

There is no confirmed exploitation: CVE-2023-0229 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-0229?

Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-0229?

github.com/openshift/apiserver-library-go \< 0.0.0-20230120221150-cefee9e0162b.

### Is there a fix for CVE-2023-0229?

Yes. Fixed in 0.0.0-20230120221150-cefee9e0162b, 0.0.0-20230119093715-30f75d79e424. Upgrade github.com/openshift/apiserver-library-go to one of 0.0.0-20230120221150-cefee9e0162b, 0.0.0-20230119093715-30f75d79e424 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-0229?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://bugzilla.redhat.com/show_bug.cgi?id=2160349>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-0229>
- vendor: <https://github.com/advisories/GHSA-5465-xc2j-6p84>
- patch: <https://github.com/openshift/apiserver-library-go/pull/97>
- patch: <https://github.com/openshift/apiserver-library-go/commit/30f75d79e424ca462c6de53ee8b93f91183763e6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-0229>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5465-xc2j-6p84> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-1549> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-0229> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-0229>
