Уязвимость CVE-2019-5736: Информация

Описание

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

Важность: HIGH (8,6) Вектор: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Опубликовано: 11 февраля 2019 г.
Изменено: 2 февраля 2024 г.
Идентификатор типа ошибки: CWE-78

Исправленные пакеты

Имя пакета
Ветка
Исправлено в версии
Версия в репозитории
Errata ID
№ Задания
Состояние
containerdsisyphus1.2.3-alt11.7.16-alt1ALT-PU-2019-1230-1221399Исправлено
containerdp101.2.3-alt11.7.8-alt1.1ALT-PU-2019-1230-1221399Исправлено
containerdp91.2.3-alt11.3.9-alt1ALT-PU-2019-1230-1221399Исправлено
containerdc10f11.2.3-alt11.6.17-alt1ALT-PU-2019-1230-1221399Исправлено
containerdc9f21.2.3-alt11.4.12-alt2ALT-PU-2019-1230-1221399Исправлено
lxcsisyphus3.0.3-alt25.0.3-alt1ALT-PU-2019-1215-1221307Исправлено
lxcsisyphus_e2k4.0.12-alt1.15.0.3-alt1ALT-PU-2022-3973-1-Исправлено
lxcsisyphus_riscv644.0.11-alt0.1.rv645.0.3-alt1ALT-PU-2021-4821-1-Исправлено
lxcp103.0.3-alt24.0.12-alt3ALT-PU-2019-1215-1221307Исправлено
lxcp10_e2k4.0.12-alt24.0.12-alt3ALT-PU-2022-6128-1-Исправлено
lxcp94.0.1-alt14.0.2-alt1ALT-PU-2020-1772-1249995Исправлено
lxcc10f13.0.3-alt24.0.10-alt1ALT-PU-2019-1215-1221307Исправлено
lxcc9f24.0.1-alt14.0.2-alt1ALT-PU-2020-1772-1249995Исправлено
pve-lxcsisyphus3.1.0-alt25.0.2-alt1ALT-PU-2019-1217-1221324Исправлено
pve-lxcp103.1.0-alt25.0.2-alt1ALT-PU-2019-1217-1221324Исправлено
pve-lxcp93.1.0-alt24.0.3-alt1ALT-PU-2019-1217-1221324Исправлено
pve-lxcc10f13.1.0-alt25.0.2-alt1ALT-PU-2019-1217-1221324Исправлено
pve-lxcc9f23.1.0-alt24.0.3-alt1ALT-PU-2019-1217-1221324Исправлено
runcsisyphus1.0.0-alt1.git04f275d1.1.12-alt1ALT-PU-2016-1817-1168298Исправлено
runcp101.0.0-alt1.git04f275d1.1.12-alt1ALT-PU-2016-1817-1168298Исправлено
runcp91.0.0-alt1.git04f275d1.0.0-alt14.rc92ALT-PU-2016-1817-1168298Исправлено
runcp81.0.0-alt0.M80P.1.rc51.0.0-alt7.git0a012dfALT-PU-2018-1670-1205494Исправлено
runcc10f11.0.0-alt1.git04f275d1.1.12-alt1ALT-PU-2016-1817-1168298Исправлено
runcc9f21.0.0-alt1.git04f275d1.1.12-alt1ALT-PU-2016-1817-1168298Исправлено

Ссылки на рекомендации, решения и инструменты

Ссылка
Ресурс
https://www.openwall.com/lists/oss-security/2019/02/11/2
  • Mailing List
  • Patch
  • Third Party Advisory
https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d
  • Patch
  • Third Party Advisory
https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b
  • Patch
  • Third Party Advisory
https://github.com/docker/docker-ce/releases/tag/v18.09.2
  • Release Notes
  • Third Party Advisory
https://access.redhat.com/security/vulnerabilities/runcescape
  • Third Party Advisory
https://access.redhat.com/security/cve/cve-2019-5736
  • Third Party Advisory
https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/
  • Third Party Advisory
https://github.com/rancher/runc-cve
  • Third Party Advisory
https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc
  • Third Party Advisory
https://brauner.github.io/2019/02/12/privileged-containers.html
  • Exploit
  • Technical Description
  • Third Party Advisory
https://aws.amazon.com/security/security-bulletins/AWS-2019-002/
  • Third Party Advisory
RHSA-2019:0304
  • Third Party Advisory
RHSA-2019:0303
  • Third Party Advisory
https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/
  • Third Party Advisory
46359
  • Exploit
  • Third Party Advisory
  • VDB Entry
106976
  • Third Party Advisory
  • VDB Entry
46369
  • Exploit
  • Third Party Advisory
  • VDB Entry
https://github.com/q3k/cve-2019-5736-poc
  • Exploit
  • Third Party Advisory
https://github.com/Frichetten/CVE-2019-5736-PoC
  • Exploit
  • Third Party Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc
  • Third Party Advisory
https://www.synology.com/security/advisory/Synology_SA_19_06
  • Third Party Advisory
RHSA-2019:0401
  • Third Party Advisory
RHSA-2019:0408
  • Third Party Advisory
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us
  • Permissions Required
https://security.netapp.com/advisory/ntap-20190307-0008/
  • Third Party Advisory
[oss-security] 20190323 CVE-2019-0204: Some Mesos components can be overwritten making arbitrary code execution possible.
  • Mailing List
  • Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1121967
  • Issue Tracking
  • Patch
  • Third Party Advisory
https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html
  • Exploit
  • Mitigation
  • Third Party Advisory
https://support.mesosphere.com/s/article/Known-Issue-Container-Runtime-Vulnerability-MSPH-2019-0003
  • Exploit
  • Patch
  • Third Party Advisory
openSUSE-SU-2019:1079
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:1227
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:1275
  • Mailing List
  • Third Party Advisory
https://softwaresupport.softwaregrp.com/document/-/facetsearch/document/KM03410944
  • Third Party Advisory
RHSA-2019:0975
  • Third Party Advisory
https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/
  • Patch
  • Third Party Advisory
  • Vendor Advisory
https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/
  • Patch
  • Third Party Advisory
  • Vendor Advisory
openSUSE-SU-2019:1444
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:1481
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:1499
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:1506
  • Mailing List
  • Third Party Advisory
[oss-security] 20190628 Re: linux-distros membership application - Microsoft
  • Mailing List
  • Third Party Advisory
[oss-security] 20190706 Re: linux-distros membership application - Microsoft
  • Mailing List
  • Third Party Advisory
[oss-security] 20190706 Re: linux-distros membership application - Microsoft
  • Mailing List
  • Third Party Advisory
USN-4048-1
  • Third Party Advisory
openSUSE-SU-2019:2021
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:2245
  • Mailing List
  • Third Party Advisory
openSUSE-SU-2019:2286
  • Mailing List
  • Third Party Advisory
[oss-security] 20191023 Membership application for linux-distros - VMware
  • Mailing List
  • Third Party Advisory
[oss-security] 20191029 Re: Membership application for linux-distros - VMware
  • Mailing List
  • Third Party Advisory
GLSA-202003-21
  • Third Party Advisory
http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html
  • Exploit
  • Third Party Advisory
  • VDB Entry
http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html
  • Third Party Advisory
  • VDB Entry
[mesos-dev] 20190323 CVE-2019-0204: Some Mesos components can be overwritten making arbitrary code execution possible.
    [mesos-user] 20190323 CVE-2019-0204: Some Mesos components can be overwritten making arbitrary code execution possible.
      FEDORA-2019-bc70b381ad
        FEDORA-2019-6174b47003
          [dlab-dev] 20190524 [jira] [Created] (DLAB-723) Runc vulnerability CVE-2019-5736
            [dlab-dev] 20190524 [jira] [Updated] (DLAB-723) Runc vulnerability CVE-2019-5736
              FEDORA-2019-2baa1f7b19
                FEDORA-2019-c1dac1b3b8
                  [dlab-dev] 20190923 [jira] [Assigned] (DLAB-723) Runc vulnerability CVE-2019-5736
                    [dlab-dev] 20200525 [jira] [Deleted] (DLAB-723) Runc vulnerability CVE-2019-5736
                      [geode-issues] 20200831 [jira] [Created] (GEODE-8471) Dependency security issues in geode-core-1.12
                        [oss-security] 20240201 runc: CVE-2024-21626: high severity container breakout attack
                          [oss-security] 20240201 Re: runc: CVE-2024-21626: high severity container breakout attack
                            [oss-security] 20240202 Re: Re: runc: CVE-2024-21626: high severity container breakout attack
                                1. Конфигурация 1

                                  cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*
                                  End excliding
                                  18.09.2

                                  Конфигурация 2

                                  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:rc4:*:*:*:*:*:*

                                  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:rc1:*:*:*:*:*:*

                                  cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*
                                  End including
                                  0.1.1

                                  Конфигурация 3

                                  cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*

                                  cpe:2.3:a:redhat:openshift:3.4:*:*:*:*:*:*:*

                                  cpe:2.3:a:redhat:openshift:3.7:*:*:*:*:*:*:*

                                  cpe:2.3:a:redhat:openshift:3.6:*:*:*:*:*:*:*

                                  cpe:2.3:a:redhat:openshift:3.5:*:*:*:*:*:*:*

                                  cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

                                  cpe:2.3:a:redhat:container_development_kit:3.7:*:*:*:*:*:*:*

                                  Конфигурация 4

                                  cpe:2.3:a:google:kubernetes_engine:-:*:*:*:*:*:*:*

                                  Конфигурация 5

                                  cpe:2.3:a:linuxcontainers:lxc:*:*:*:*:*:*:*:*
                                  End excliding
                                  3.2.0

                                  Конфигурация 6

                                  cpe:2.3:a:hp:onesphere:-:*:*:*:*:*:*:*

                                  Конфигурация 7

                                  cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*

                                  cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*

                                  Конфигурация 8

                                  cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
                                  Start including
                                  1.4.0
                                  End excliding
                                  1.4.3

                                  cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
                                  Start including
                                  1.6.0
                                  End excliding
                                  1.6.2

                                  cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
                                  Start including
                                  1.7.0
                                  End excliding
                                  1.7.2

                                  cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
                                  Start including
                                  1.5.0
                                  End excliding
                                  1.5.3

                                  Конфигурация 9

                                  cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*

                                  cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*

                                  cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*

                                  cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*

                                  cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*

                                  Конфигурация 10

                                  cpe:2.3:a:d2iq:kubernetes_engine:*:*:*:*:*:*:*:*
                                  End excliding
                                  2.2.0-1.13.3

                                  cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
                                  End excliding
                                  1.10.10

                                  cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
                                  Start including
                                  1.10.11
                                  End excliding
                                  1.11.9

                                  cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
                                  Start including
                                  1.11.10
                                  End excliding
                                  1.12.1

                                  Конфигурация 11

                                  cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*

                                  cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*

                                  Конфигурация 12

                                  cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

                                  cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

                                  cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*

                                  cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*

                                  Конфигурация 13

                                  cpe:2.3:a:microfocus:service_management_automation:2018.05:*:*:*:*:*:*:*

                                  cpe:2.3:a:microfocus:service_management_automation:2018.02:*:*:*:*:*:*:*

                                  cpe:2.3:a:microfocus:service_management_automation:2018.08:*:*:*:*:*:*:*

                                  cpe:2.3:a:microfocus:service_management_automation:2018.11:*:*:*:*:*:*:*