{"answers":{"affected":"3 open source packages ship an affected version, including github.com/opencontainers/runc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28642 in the wild and no public exploit code.","fix":"Upgrade github.com/opencontainers/runc to 1.1.5 or later.","what":"CVE-2023-28642 is a medium-severity vulnerability in opencontainers runc, published on 29 Mar 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-28642 and fix it if it is affected.\n\nWhat it is: CVE-2023-28642 is a medium-severity vulnerability in opencontainers runc, published on 29 Mar 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-28642 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.1.5\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.1.5\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.1.5\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-2023-28642/ (Markdown: https://insights.sbomify.com/CVE-2023-28642/index.md)","id":"CVE-2023-28642","markdown":"https://insights.sbomify.com/CVE-2023-28642/index.md","name":"CVE-2023-28642","record":{"aliases":["AZL-25850","CLEANSTART-2026-HM12988","DEBIAN-CVE-2023-28642","GHSA-g2j6-57v7-gm8c","GO-2023-1683","OESA-2023-1217","OESA-2023-1218","OESA-2023-1383","UBUNTU-CVE-2023-28642"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"OCI container runtime","requires_auth":"none","summary":"Attackers can bypass AppArmor security controls in runc containers by exploiting symlinked /proc mounts, requiring specific configurations.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"runc","vendor":"linuxfoundation"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.","ecosystems":["Go"],"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":"AppArmor bypass with symlinked /proc in runc","id":"CVE-2023-28642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Potential share collision for recipients when caching is enabled in nextcloud server","id":"CVE-2023-28643"},"packages":[{"ecosystem":"Go","fixed":["1.1.5"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-g2j6-57v7-gm8c"},{"ecosystem":"Go","fixed":["1.1.5"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-g2j6-57v7-gm8c"},{"ecosystem":"Go","fixed":["1.1.5"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GO-2023-1683"}],"prev":{"headline":"Permissions bypass in Apiman could enable authenticated attacker to unpermitted API Key","id":"CVE-2023-28640"},"products":["runc"],"published":"2023-03-29","related":[{"cvss_score":8.4,"headline":"container escape due to /dev/console mount and related races","id":"CVE-2025-52565","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":7.3,"headline":"runc container escape via \"masked path\" abuse due to mount race conditions","id":"CVE-2025-31133","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":7.3,"headline":"runc: LSM labels can be bypassed with malicious config using dummy procfs files","id":"CVE-2025-52881","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":5,"headline":"rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc","id":"CVE-2023-25809","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":3.6,"headline":"runc can be confused to create empty files/directories on the host","id":"CVE-2024-45310","kev_date_added":null,"published":"2024-09-03"},{"cvss_score":3.3,"headline":"runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations","id":"CVE-2026-41579","kev_date_added":null,"published":"2026-07-01"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["opencontainers"]},"summary":"Attackers can bypass AppArmor security controls in runc containers by exploiting symlinked /proc mounts, requiring specific configurations.","url":"https://insights.sbomify.com/CVE-2023-28642/"}