{"answers":{"affected":"7 open source packages ship an affected version, including github.com/cri-o/cri-o.","exploited":"There is no known exploitation of CVE-2024-8676 in the wild and no public exploit code.","fix":"Upgrade github.com/cri-o/cri-o to a fixed version for your release line: 1.29.11, 1.30.8 or 1.31.3.","what":"CVE-2024-8676 is a high-severity missing authorization vulnerability in Red Hat Enterprise Linux 8, published on 26 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-8676 and fix it if it is affected.\n\nWhat it is: CVE-2024-8676 is a high-severity missing authorization vulnerability in Red Hat Enterprise Linux 8, published on 26 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-8676 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.29.11, 1.30.8, 1.31.3\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.29.11\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.29.11\n- github.com/cri-o/cri-o (Go): affected from 1.30.0; fixed in 1.30.8\n- github.com/cri-o/cri-o (Go): affected from 1.30.0; fixed in 1.30.8\n- github.com/cri-o/cri-o (Go): affected from 1.31.0; fixed in 1.31.3\n- github.com/cri-o/cri-o (Go): affected from 1.31.0; fixed in 1.31.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-8676/ (Markdown: https://insights.sbomify.com/CVE-2024-8676/index.md)","id":"CVE-2024-8676","markdown":"https://insights.sbomify.com/CVE-2024-8676/index.md","name":"CVE-2024-8676","record":{"aliases":["AZL-53540","GHSA-7p9f-6x8j-gxxp","GO-2024-3292","RHBA-2024:10826","RHSA-2025:0648"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"CRI-O container runtime","requires_auth":"none","summary":"A malicious user with socket access can bypass mount validations to restore containers with unauthorized host mount access, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"A vulnerability was found in CRI-O, where it can be requested to take a checkpoint archive of a container and later be asked to restore it. When it does that restoration, it attempts to restore the mounts from the restore archive instead of the pod request. As a result, the validations run on the pod spec, verifying that the pod has access to the mounts it specifies are not applicable to a restored container. This flaw allows a malicious user to trick CRI-O into restoring a pod that doesn't have access to host mounts. The user needs access to the kubelet or cri-o socket to call the restore endpoint and trigger the restore.","ecosystems":["Go","Red Hat:openshift:4.15::el8","Red Hat:openshift:4.15::el9","Red Hat:openshift:4.16::el8","Red Hat:openshift:4.16::el9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cri-o: checkpoint restore can be triggered from different namespaces","id":"CVE-2024-8676","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":19,"n_references":8,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2024-8677"},"packages":[{"ecosystem":"Go","fixed":["1.29.11","1.30.8","1.31.3"],"introduced":["0","1.30.0","1.31.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GO-2024-3292"},{"ecosystem":"Go","fixed":["1.29.11"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Go","fixed":["1.29.11"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Go","fixed":["1.30.8"],"introduced":["1.30.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Go","fixed":["1.30.8"],"introduced":["1.30.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Go","fixed":["1.31.3"],"introduced":["1.31.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Go","fixed":["1.31.3"],"introduced":["1.31.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-7p9f-6x8j-gxxp"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["0:1.28.11-7.rhaos4.15.gitc4c0556.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2025:0648"},{"ecosystem":"Red Hat:openshift:4.16::el8","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2024:10826"},{"ecosystem":"Red Hat:openshift:4.16::el8","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2024:10826"},{"ecosystem":"Red Hat:openshift:4.16::el8","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHBA-2024:10826"},{"ecosystem":"Red Hat:openshift:4.16::el9","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2024:10826"},{"ecosystem":"Red Hat:openshift:4.16::el9","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2024:10826"},{"ecosystem":"Red Hat:openshift:4.16::el9","fixed":["0:1.29.11-3.rhaos4.16.git16d9bd6.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHBA-2024:10826"}],"prev":{"headline":"Soumettre.fr \u003c= 2.1.3 - Missing Authorization","id":"CVE-2024-8675"},"products":["Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat OpenShift Container Platform 3.11","Red Hat OpenShift Container Platform 4","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18"],"published":"2024-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"A malicious user with socket access can bypass mount validations to restore containers with unauthorized host mount access, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-8676/"}