CVE-2019-18837

MEDIUM

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.

References

https://github.com/containers/crun/pull/173

https://github.com/containers/crun/releases/tag/0.10.5

https://lists.fedoraproject.org/archives/list/[email protected]/message/DTA5SJUAKQUK6HRY2CZVJUIZP5BO3EOG/

https://lists.fedoraproject.org/archives/list/[email protected]/message/ITB2UNEGHXZUR3ATYHWPSK5LJB36N7AP/

Details

Source: MITRE

Published: 2019-11-13

Updated: 2019-11-18

Type: CWE-59

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 8.6

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Impact Score: 4

Exploitability Score: 3.9

Severity: HIGH