ID CVE-2019-19921
Summary runc through 1.0.0-rc9 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. (This vulnerability does not affect Docker due to an implementation detail that happens to block the attack.)
References
Vulnerable Configurations
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc7:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc7:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc8:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc8:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:1.0.0:rc9:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:1.0.0:rc9:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:-:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:-:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:linuxfoundation:runc:0.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:linuxfoundation:runc:0.1.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:openshift_container_platform:4.1:*:*:*:*:*:*:*
    cpe:2.3:a:redhat:openshift_container_platform:4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:openshift_container_platform:4.2:*:*:*:*:*:*:*
    cpe:2.3:a:redhat:openshift_container_platform:4.2:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 16-08-2023 - 03:15)
Impact:
Exploitability:
CWE CWE-706
CAPEC
  • Create files with the same name as files protected with a higher classification
    An attacker exploits file location algorithms in an operating system or application by creating a file with the same name as a protected or privileged file. The attacker could manipulate the system if the attacker-created file is trusted by the operating system or an application component that attempts to load the original file. Applications often load or include external files, such as libraries or configuration files. These files should be protected against malicious manipulation. However, if the application only uses the name of the file when locating it, an attacker may be able to create a file with the same name and place it in a directory that the application will search before the directory with the legitimate file is searched. Because the attackers' file is discovered first, it would be used by the target application. This attack can be extremely destructive if the referenced file is executable and/or is granted special privileges based solely on having a particular name.
  • DLL Side-Loading
    An adversary places a malicious version of a Dynamic-Link Library (DLL) in the Windows Side-by-Side (WinSxS) directory to trick the operating system into loading this malicious DLL instead of a legitimate DLL. Programs specify the location of the DLLs to load via the use of WinSxS manifests or DLL redirection and if they aren't used then Windows searches in a predefined set of directories to locate the file. If the applications improperly specify a required DLL or WinSxS manifests aren't explicit about the characteristics of the DLL to be loaded, they can be vulnerable to side-loading.
  • Passing Local Filenames to Functions That Expect a URL
    This attack relies on client side code to access local files and resources instead of URLs. When the client browser is expecting a URL string, but instead receives a request for a local file, that execution is likely to occur in the browser process space with the browser's authority to local files. The attacker can send the results of this request to the local files out to a site that they control. This attack may be used to steal sensitive authentication data (either local or remote), or to gain system profile information to launch further attacks.
  • Redirect Access to Libraries
    An adversary exploits a weakness in the way an application searches for external libraries to manipulate the execution flow to point to an adversary supplied library or code base. This pattern of attack allows the adversary to compromise the application or server via the execution of unauthorized code. An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. If an adversary can redirect an application's attempts to access these libraries to other libraries that the adversary supplies, the adversary will be able to force the targeted application to execute arbitrary code. This is especially dangerous if the targeted application has enhanced privileges. Access can be redirected through a number of techniques, including the use of symbolic links, search path modification, and relative path manipulation.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2020:0688
  • rhsa
    id RHSA-2020:0695
rpms
  • runc-0:1.0.0-63.rc10.rhaos4.2.gitdc9208a.el8
  • runc-debuginfo-0:1.0.0-63.rc10.rhaos4.2.gitdc9208a.el8
  • runc-debugsource-0:1.0.0-63.rc10.rhaos4.2.gitdc9208a.el8
  • runc-0:1.0.0-63.rc8.rhaos4.1.git3cbe540.el8_0
  • runc-debuginfo-0:1.0.0-63.rc8.rhaos4.1.git3cbe540.el8_0
  • runc-debugsource-0:1.0.0-63.rc8.rhaos4.1.git3cbe540.el8_0
  • runc-0:1.0.0-66.rc8.el7_7
  • runc-debuginfo-0:1.0.0-66.rc8.el7_7
  • runc-0:1.0.0-66.rc10.rhaos4.3.el7_8
  • runc-debuginfo-0:1.0.0-66.rc10.rhaos4.3.el7_8
  • buildah-0:1.11.6-7.module+el8.2.0+5856+b8046c6d
  • buildah-debuginfo-0:1.11.6-7.module+el8.2.0+5856+b8046c6d
  • buildah-debugsource-0:1.11.6-7.module+el8.2.0+5856+b8046c6d
  • buildah-tests-0:1.11.6-7.module+el8.2.0+5856+b8046c6d
  • buildah-tests-debuginfo-0:1.11.6-7.module+el8.2.0+5856+b8046c6d
  • cockpit-podman-0:12-1.module+el8.2.0+5950+6d183a6a
  • conmon-2:2.0.6-1.module+el8.2.0+5182+3136e5d4
  • container-selinux-2:2.124.0-1.module+el8.2.0+5182+3136e5d4
  • containernetworking-plugins-0:0.8.3-5.module+el8.2.0+5201+6b31f0d9
  • containernetworking-plugins-debuginfo-0:0.8.3-5.module+el8.2.0+5201+6b31f0d9
  • containernetworking-plugins-debugsource-0:0.8.3-5.module+el8.2.0+5201+6b31f0d9
  • containers-common-1:0.1.40-10.module+el8.2.0+5955+6cd70ceb
  • crit-0:3.12-9.module+el8.2.0+5029+3ac48e7d
  • criu-0:3.12-9.module+el8.2.0+5029+3ac48e7d
  • criu-debuginfo-0:3.12-9.module+el8.2.0+5029+3ac48e7d
  • criu-debugsource-0:3.12-9.module+el8.2.0+5029+3ac48e7d
  • fuse-overlayfs-0:0.7.2-5.module+el8.2.0+6060+9dbc027d
  • fuse-overlayfs-debuginfo-0:0.7.2-5.module+el8.2.0+6060+9dbc027d
  • fuse-overlayfs-debugsource-0:0.7.2-5.module+el8.2.0+6060+9dbc027d
  • podman-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-debuginfo-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-debugsource-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-docker-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-remote-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-remote-debuginfo-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • podman-tests-0:1.6.4-10.module+el8.2.0+6063+e761893a
  • python-podman-api-0:1.2.0-0.2.gitd0a45fe.module+el8.2.0+5201+6b31f0d9
  • python3-criu-0:3.12-9.module+el8.2.0+5029+3ac48e7d
  • runc-0:1.0.0-65.rc10.module+el8.2.0+5762+aaee29fb
  • runc-debuginfo-0:1.0.0-65.rc10.module+el8.2.0+5762+aaee29fb
  • runc-debugsource-0:1.0.0-65.rc10.module+el8.2.0+5762+aaee29fb
  • skopeo-1:0.1.40-10.module+el8.2.0+5955+6cd70ceb
  • skopeo-debuginfo-1:0.1.40-10.module+el8.2.0+5955+6cd70ceb
  • skopeo-debugsource-1:0.1.40-10.module+el8.2.0+5955+6cd70ceb
  • skopeo-tests-1:0.1.40-10.module+el8.2.0+5955+6cd70ceb
  • slirp4netns-0:0.4.2-3.git21fdece.module+el8.2.0+5658+9a15711d
  • slirp4netns-debuginfo-0:0.4.2-3.git21fdece.module+el8.2.0+5658+9a15711d
  • slirp4netns-debugsource-0:0.4.2-3.git21fdece.module+el8.2.0+5658+9a15711d
  • toolbox-0:0.0.7-1.module+el8.2.0+6096+9c3f08f3
  • udica-0:0.2.1-2.module+el8.2.0+4896+8f613c81
refmap via4
gentoo GLSA-202003-21
misc
suse openSUSE-SU-2020:0219
ubuntu USN-4297-1
Last major update 16-08-2023 - 03:15
Published 12-02-2020 - 15:15
Last modified 16-08-2023 - 03:15
Back to Top