[ASA-201902-6] runc: privilege escalation
Levente Polyak
anthraxx at archlinux.org
Tue Feb 12 17:43:30 UTC 2019
Arch Linux Security Advisory ASA-201902-6
=========================================
Severity: High
Date : 2019-02-11
CVE-ID : CVE-2019-5736
Package : runc
Type : privilege escalation
Remote : Yes
Link : https://security.archlinux.org/AVG-878
Summary
=======
The package runc before version 1.0.0rc6-1 is vulnerable to privilege
escalation.
Resolution
==========
Upgrade to 1.0.0rc6-1.
# pacman -Syu "runc>=1.0.0rc6-1"
The problem has been fixed upstream in version 1.0.0rc6.
Workaround
==========
Don't run privileged containers.
Description
===========
A vulnerability discovered in 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.
Impact
======
A malicious container can escalate privileges to gain access as root on
the host system and execute arbitrary code.
References
==========
https://github.com/lxc/lxc/commit/6400238d08cdf1ca20d49bafb85f4e224348bf9d
https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b
https://www.openwall.com/lists/oss-security/2019/02/11/2
https://security.archlinux.org/CVE-2019-5736
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20190212/cd56515f/attachment.sig>
More information about the arch-security
mailing list