Lucene search

K
archlinuxArchLinuxASA-201701-19
HistoryJan 13, 2017 - 12:00 a.m.

[ASA-201701-19] docker: privilege escalation

2017-01-1300:00:00
security.archlinux.org
16

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-201701-19

Severity: High
Date : 2017-01-13
CVE-ID : CVE-2016-9962
Package : docker
Type : privilege escalation
Remote : No
Link : https://security.archlinux.org/AVG-133

Summary

The package docker before version 1:1.12.6-1 is vulnerable to privilege
escalation.

Resolution

Upgrade to 1:1.12.6-1.

pacman -Syu “docker>=1:1.12.6-1”

The problem has been fixed upstream in version 1.12.6.

Workaround

None.

Description

The runc component used by docker exec feature of docker allowed
additional container processes via 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 unprivileged attacker when running as root inside a docker
container is able to access the host filesystem leading to privilege
escalation.

References

https://bugs.archlinux.org/task/52493
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
ArchLinuxanyanydocker< 1:1.12.6-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%