{"id":"CVE-2023-6476","aliases":["CVE-2023-6476","GHSA-p4rx-7wvg-fwrc","GO-2024-2458"],"related":[],"kind":"vulnerability","state":"published","title":"Cri-o: pods are able to break out of resource confinement on cgroupv2","summary":"A flaw was found in CRI-O that involves an experimental annotation leading to a container being unconfined. This may allow a pod to specify and get any amount of memory/cpu, circumventing the kubernetes scheduler and potentially resulting in a denial of service in the node.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in CRI-O that involves an experimental annotation leading to a container being unconfined. This may allow a pod to specify and get any amount of memory/cpu, circumventing the kubernetes scheduler and potentially resulting in a denial of service in the node.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nAll versions of CRI-O running on cgroupv2 nodes. \nUnchecked access to an experimental annotation allows a container to be unconfined. Back in 2021, [support was added](https://github.com/cri-o/cri-o/pull/4479) to support an experimental annotation that allows a user to request special resources in cgroupv2. It was supposed to be gated by an experimental annotation: `io.kubernetes.cri-o.UnifiedCgroup`, which was supposed to be filtered from the [list of allowed annotations](https://github.com/cri-o/cri-o/blob/main/pkg/config/workloads.go#L103-L107) . However, there is a bug in this code which allows any user to specify this annotation, regardless of whether it's enabled on the node. The consequences of this are a pod can specify any amount of memory/cpu and get it, circumventing the kubernetes scheduler, and potentially be able to DOS a node. \n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n1.29.1, 1.28.3, 1.27.3\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nuse cgroupv1\n\n### References\n_Are there any links users can visit to find out more?_","format":"markdown","source":"ghsa"},{"lang":"en","text":"CRI-O's pods can break out of resource confinement on cgroupv2 in github.com/cri-o/cri-o","format":"markdown","source":"go"},{"lang":"es","text":"Se encontró una falla en CRI-O que involucra una anotación experimental que lleva a que un contenedor no esté confinado. Esto puede permitir que un pod especifique y obtenga cualquier cantidad de memoria/CPU, eludiendo el programador de Kubernetes y potencialmente provocando una denegación de servicio en el nodo.","source":"nvd"}],"published":"2024-01-09T21:32:03.407Z","modified":"2026-11-26T17:15:59.456Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:1.26.4-6.1.rhaos4.13.git9eb9cf3.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","package":"cri-o","cpe":"cpe:/a:redhat:openshift:4.13::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.26.4-6.1.rhaos4.13.git9eb9cf3.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","package":"cri-o","cpe":"cpe:/a:redhat:openshift:4.13::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.27.2-7.rhaos4.14.git1cc7a64.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","package":"cri-o","cpe":"cpe:/a:redhat:openshift:4.14::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.27.2-7.rhaos4.14.git1cc7a64.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","package":"cri-o","cpe":"cpe:/a:redhat:openshift:4.14::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","package":"cri-o","cpe":"cpe:/a:redhat:openshift:3.11","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.29.0","status":"affected","fixed":"1.29.1"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.28.0","status":"affected","fixed":"1.28.3"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.27.3"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.27.3"},{"type":"semver","introduced":"1.28.0","status":"affected","fixed":"1.28.3"},{"type":"semver","introduced":"1.29.0","status":"affected","fixed":"1.29.1"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"go"},{"ranges":[{"status":"affected","version":"3.11"},{"status":"affected","version":"4.13"},{"status":"affected","version":"4.14"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:0195","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0207","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6476","tags":["vdb-entry","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253994","tags":["issue-tracking","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/cri-o/cri-o/security/advisories/GHSA-p4rx-7wvg-fwrc","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6476","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/cri-o/cri-o/pull/4479","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cri-o/cri-o/commit/75effcb1a25851a736e82dba1f7d8cee93ee159e","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cri-o/cri-o","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/cri-o/cri-o/blob/main/pkg/config/workloads.go#L103-L107","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-10T15:24:28.741Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6476","url":"https://www.cve.org/CVERecord?id=CVE-2023-6476","licence":"CVE Terms of Use","modified":"2026-11-26T17:15:59.456Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p4rx-7wvg-fwrc","url":"https://github.com/advisories/GHSA-p4rx-7wvg-fwrc","licence":"CC-BY-4.0","modified":"2024-06-28T15:58:33.081Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2458","url":"https://pkg.go.dev/vuln/GO-2024-2458","licence":"CC-BY-4.0","modified":"2026-03-03T04:54:28.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6476","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6476","licence":"Public domain","modified":"2026-06-17T06:50:49.193Z"}],"updatedAt":"2026-11-26T17:22:21.355Z","epss":{"score":0.00859,"percentile":0.59554,"date":"2026-12-01T12:00:22.000Z"}}