Lucene search

K
archlinuxArchLinuxASA-201805-11
HistoryMay 16, 2018 - 12:00 a.m.

[ASA-201805-11] runc: privilege escalation

2018-05-1600:00:00
security.archlinux.org
8

6.4 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

4.4 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

27.6%

Arch Linux Security Advisory ASA-201805-11

Severity: High
Date : 2018-05-16
CVE-ID : CVE-2016-9962
Package : runc
Type : privilege escalation
Remote : No
Link : https://security.archlinux.org/AVG-134

Summary

The package runc before version 1.0.0rc5+19+g69663f0b-1 is vulnerable
to privilege escalation.

Resolution

Upgrade to 1.0.0rc5+19+g69663f0b-1.

pacman -Syu “runc>=1.0.0rc5+19+g69663f0b-1”

The problem has been fixed upstream in version 1.0.0rc5.

Workaround

None.

Description

The runc component used by docker exec feature of docker allowed
additional container processes to be ptraced by the pid 1 of the
container. This allows the main processes of the container, if running
as root, to gain low-level access to these new processes during
initialization. An attacker can, depending on the nature of the
incoming process, leverage this to elevate access to the host. This
ranges from accessing host content through the file descriptors of the
incoming process to, potentially, a complete container escape by
leveraging memory access or syscall interception.

Impact

A local attacker is able to break out of the container or modify host
files via a crafted docker exec call.

References

https://github.com/opencontainers/runc/commit/5d93fed3d27f1e2bab58bad13b180a7a81d0b378
https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5
https://bugzilla.suse.com/show_bug.cgi?id=1012568
https://github.com/docker/docker/compare/v1.12.5...v1.12.6
https://www.mail-archive.com/[email protected]/msg04165.html
https://security.archlinux.org/CVE-2016-9962

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanyrunc< 1.0.0rc5+19+g69663f0b-1UNKNOWN

6.4 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

4.4 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

27.6%