Vulnerability Name:

CVE-2020-15257 (CCN-192452)

Assigned:2020-11-30
Published:2020-11-30
Updated:2022-01-01
Summary:containerd is an industry-standard container runtime and is available as a daemon for Linux and Windows. In containerd before versions 1.3.9 and 1.4.3, the containerd-shim API is improperly exposed to host network containers. Access controls for the shim’s API socket verified that the connecting process had an effective UID of 0, but did not otherwise restrict access to the abstract Unix domain socket. This would allow malicious containers running in the same network namespace as the shim, with an effective UID of 0 but otherwise reduced privileges, to cause new processes to be run with elevated privileges. This vulnerability has been fixed in containerd 1.3.9 and 1.4.3. Users should update to these versions as soon as they are released. It should be noted that containers started with an old version of containerd-shim should be stopped and restarted, as running containers will continue to be vulnerable even after an upgrade. If you are not providing the ability for untrusted users to start containers in the same network namespace as the shim (typically the "host" network namespace, for example with docker run --net=host or hostNetwork: true in a Kubernetes pod) and run with an effective UID of 0, you are not vulnerable to this issue. If you are running containers with a vulnerable configuration, you can deny access to all abstract sockets with AppArmor by adding a line similar to deny unix addr=@**, to your policy. It is best practice to run containers with a reduced set of privileges, with a non-zero UID, and with isolated namespaces. The containerd maintainers strongly advise against sharing namespaces with the host. Reducing the set of isolation mechanisms used for a container necessarily increases that container's privilege, regardless of what container runtime is used for running that container.
CVSS v3 Severity:5.2 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
4.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:3.6 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-669
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2020-15257

Source: XF
Type: UNKNOWN
containerd-cve202015257-priv-esc(192452)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/containerd/containerd/commit/4a4bb851f5da563ff6e68a83dc837c7699c469ad

Source: MISC
Type: Third Party Advisory
https://github.com/containerd/containerd/releases/tag/v1.4.3

Source: CCN
Type: containerd GIT repository
containerd-shim API exposed to host network containers

Source: CONFIRM
Type: Mitigation, Third Party Advisory
https://github.com/containerd/containerd/security/advisories/GHSA-36xw-fx78-c5r4

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2020-baeb8dbaea

Source: CCN
Type: oss-sec Mailing List, Mon, 30 Nov 2020 19:00:16 +0000
CVE-2020-15257: containerd-shim API exposed to host network containers

Source: GENTOO
Type: Third Party Advisory
GLSA-202105-33

Source: DEBIAN
Type: Third Party Advisory
DSA-4865

Source: CCN
Type: IBM Security Bulletin 6602259 (MQ Operator CD release)
IBM MQ Operator and Queue manager container images are vulnerable to an issue in OPM and Golang Go packages (CVE-2020-15257, CVE-2021-21334 and CVE-2021-41771)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-15257

Vulnerable Configuration:Configuration 1:
  • cpe:/a:linuxfoundation:containerd:*:*:*:*:*:*:*:* (Version < 1.3.9)
  • OR cpe:/a:linuxfoundation:containerd:*:*:*:*:*:*:*:* (Version >= 1.4.0 and < 1.4.3)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:linuxfoundation:containerd:1.3.7:*:*:*:*:*:*:*
  • OR cpe:/a:linuxfoundation:containerd:1.4.0:-:*:*:*:*:*:*
  • OR cpe:/a:linuxfoundation:containerd:1.4.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7853
    P
    docker-20.10.23_ce-150000.175.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7850
    P
    containerd-1.6.19-150000.87.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:93148
    P
    (Important)
    2022-07-06
    oval:org.opensuse.security:def:3243
    P
    libpython3_6m1_0-3.6.8-2.13 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3799
    P
    sysstat-12.0.2-10.24.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3242
    P
    libpython3_4m1_0-3.4.6-25.29.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94872
    P
    containerd-1.4.12-150000.65.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94873
    P
    docker-20.10.12_ce-159.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94715
    P
    libssh2-1-1.9.0-4.13.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:93301
    P
    (Moderate)
    2022-06-02
    oval:org.opensuse.security:def:99193
    P
    (Important)
    2022-03-30
    oval:org.opensuse.security:def:100097
    P
    (Important)
    2022-03-14
    oval:org.opensuse.security:def:112096
    P
    containerd-1.4.8-2.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112164
    P
    docker-20.10.6_ce-2.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:1295
    P
    Security update for the Linux Kernel (Live Patch 0 for SLE 15 SP3) (Important)
    2021-12-15
    oval:org.opensuse.security:def:5935
    P
    Security update for gettext-runtime (Moderate)
    2021-12-14
    oval:org.opensuse.security:def:1294
    P
    Security update for the Linux Kernel (Live Patch 1 for SLE 15 SP3) (Important)
    2021-12-14
    oval:org.opensuse.security:def:105636
    P
    containerd-1.4.8-2.2 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:105698
    P
    docker-20.10.6_ce-2.1 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:62384
    P
    docker-19.03.15_ce-6.46.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:101127
    P
    containerd-1.3.9-5.29.3 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:101128
    P
    docker-19.03.15_ce-6.46.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:62383
    P
    containerd-1.3.9-5.29.3 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:102196
    P
    Security update for qemu (Important)
    2021-07-21
    oval:org.opensuse.security:def:99388
    P
    (Critical)
    2021-06-21
    oval:org.opensuse.security:def:101428
    P
    Security update for dtc (Low)
    2021-05-13
    oval:org.opensuse.security:def:111218
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-12
    oval:org.opensuse.security:def:93790
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:9082
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:100706
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:108862
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:97212
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92995
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:69977
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:76092
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:95483
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92438
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:64888
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:94005
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:9638
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:99587
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:70528
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:93439
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:98998
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92637
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:67024
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:94216
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:9837
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:99786
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92048
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:117608
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:93595
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:8887
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:100372
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:108094
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92836
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:69778
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:94427
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:10388
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:92243
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2021-02-11
    oval:org.opensuse.security:def:20646
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2020-12-28
    oval:org.opensuse.security:def:49117
    P
    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork (Important)
    2020-12-28
    BACK
    linuxfoundation containerd *
    linuxfoundation containerd *
    fedoraproject fedora 33
    debian debian linux 10.0
    linuxfoundation containerd 1.3.7
    linuxfoundation containerd 1.4.0 -
    linuxfoundation containerd 1.4.1