{"id":"CVE-2019-18837","state":"PUBLISHED","title":"An issue was discovered in crun before 0.10.5. With a crafted image, it doesn't correctly check whether a target is a symlink, resulting in access to files outside of the container","description":"An issue was discovered in crun before 0.10.5. With a crafted image, it doesn't correctly check whether a target is a symlink, resulting in access to files outside of the container. This occurs in libcrun/linux.c and libcrun/chroot_realpath.c.","publishedAt":"2019-11-13T20:01:16.000Z","updatedAt":"2024-08-05T02:02:39.524Z","severity":null,"assigner":"trellix","products":["crun crun"],"affected":[{"vendor":"crun","product":"crun","versions":[{"version":"before 0.10.5","status":"affected"}]}],"references":["https://github.com/containers/crun/pull/173","https://github.com/containers/crun/releases/tag/0.10.5","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:41.458Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/18xxx/CVE-2019-18837.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-18837","state":"PUBLISHED","datePublished":"2019-11-13T20:01:16.000Z","dateUpdated":"2024-08-05T02:02:39.524Z","assignerShortName":"trellix","assignerOrgId":"01626437-bf8f-4d1c-912a-893b5eb04808","dateReserved":"2019-11-08T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"An issue was discovered in crun before 0.10.5. With a crafted image, it doesn't correctly check whether a target is a symlink, resulting in access to files outside of the container. This occurs in libcrun/linux.c and libcrun/chroot_realpath.c."}],"affected":[{"vendor":"crun","product":"crun","versions":[{"version":"before 0.10.5","status":"affected"}]}],"references":[{"url":"https://github.com/containers/crun/pull/173","tags":["x_refsource_MISC"]},{"url":"https://github.com/containers/crun/releases/tag/0.10.5","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"Directory Traversal","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"trellix","dateUpdated":"2020-10-09T20:12:55.000Z","orgId":"01626437-bf8f-4d1c-912a-893b5eb04808"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"psirt@mcafee.com","ID":"CVE-2019-18837","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"crun","version":{"version_data":[{"version_value":"before 0.10.5"}]}}]},"vendor_name":"crun"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in crun before 0.10.5. With a crafted image, it doesn't correctly check whether a target is a symlink, resulting in access to files outside of the container. This occurs in libcrun/linux.c and libcrun/chroot_realpath.c."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Directory Traversal"}]}]},"references":{"reference_data":[{"name":"https://github.com/containers/crun/pull/173","refsource":"MISC","url":"https://github.com/containers/crun/pull/173"},{"name":"https://github.com/containers/crun/releases/tag/0.10.5","refsource":"CONFIRM","url":"https://github.com/containers/crun/releases/tag/0.10.5"},{"name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/","refsource":"MISC","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/"},{"name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/","refsource":"MISC","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/containers/crun/pull/173","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/containers/crun/releases/tag/0.10.5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T02:02:39.524Z"}}]}}}