Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530518 (CVE-2014-6407) - <app-emulation/docker-1.3.2: two vulnerabilities (CVE-2014-{6407,6408})
Summary: <app-emulation/docker-1.3.2: two vulnerabilities (CVE-2014-{6407,6408})
Status: RESOLVED FIXED
Alias: CVE-2014-6407
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: http://www.openwall.com/lists/oss-sec...
Whiteboard: ~1 [noglsa]
Keywords:
: 530892 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-25 08:35 UTC by Agostino Sarubbo
Modified: 2014-12-28 22:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-11-25 08:35:48 UTC
From ${URL} :

Today, we are releasing Docker 1.3.2 in order to address two critical
security issues. This release also includes several bugfixes, including
changes to the insecure-registry option. Below are CVE descriptions for the
vulnerabilities addressed in this release.

Docker 1.3.2 is available immediately for all supported platforms:
https://docs.docker.com/installation/


Docker Security Advisory [24 Nov 2014]
=================================================================

=====================================================
[CVE-2014-6407] Archive extraction allowing host privilege escalation
=====================================================
Severity: Critical
Affects: Docker up to 1.3.1

The Docker engine, up to and including version 1.3.1, was vulnerable to
extracting files to arbitrary paths on the host during ‘docker pull’ and
‘docker load’ operations. This was caused by symlink and hardlink
traversals present in Docker's image extraction. This vulnerability could
be leveraged to perform remote code execution and privilege escalation.

Docker 1.3.2 remedies this vulnerability. Additional checks have been added
to pkg/archive and image extraction is now performed in a chroot. No
remediation is available for older versions of Docker and users are advised
to upgrade.

Related vulnerabilities discovered by Florian Weimer of Red Hat Product
Security and independent researcher, Tõnis Tiigi.

=================================================================
[CVE-2014-6408] Security options applied to image could lead to container
escalation
=================================================================
Severity: Critical
Affects: Docker 1.3.0-1.3.1

Docker versions 1.3.0 through 1.3.1 allowed security options to be applied
to images, allowing images to modify the default run profile of containers
executing these images. This vulnerability could allow a malicious image
creator to loosen the restrictions applied to a container’s processes,
potentially facilitating a break-out.

Docker 1.3.2 remedies this vulnerability. Security options applied to
images are no longer consumed by the Docker engine and will be ignored.
Users are advised to upgrade.

=================================================================
Other changes:
=================================================================

Besides the above CVEs, the 1.3.2 release allows administrators to pass a
CIDR-formatted range of addresses for '—insecure-registry'. In addition,
allowing a cleartext registry to exist on localhost is now default
behavior. This change was made due to user feedback following the changes
made in 1.3.1 to resolve CVE-2014-5277.



@maintainer(s): since the package or the affected version has never been marked as stable, we don't need to stabilize it. After the bump, please remove the affected versions from the tree.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2014-11-26 15:45:55 UTC
+*docker-1.3.2 (26 Nov 2014)
+
+  26 Nov 2014; Kacper Kowalik <xarthisius@gentoo.org> +docker-1.3.2.ebuild,
+  -docker-1.3.1.ebuild:
+  Version bump, drop old wrt bug #530518
Comment 2 Yury German Gentoo Infrastructure gentoo-dev 2014-11-27 05:08:21 UTC
Maintainer(s), Thank you for your work. 

No GLSA needed as there are no stable versions.
Comment 3 Yury German Gentoo Infrastructure gentoo-dev 2014-11-27 17:14:46 UTC
*** Bug 530892 has been marked as a duplicate of this bug. ***
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2014-12-28 22:21:46 UTC
CVE-2014-6408 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-6408):
  Docker 1.3.0 through 1.3.1 allows remote attackers to modify the default run
  profile of image containers and possibly bypass the container by applying
  unspecified security options to an image.

CVE-2014-6407 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-6407):
  Docker before 1.3.2 allows remote attackers to write to arbitrary files and
  execute arbitrary code via a (1) symlink or (2) hard link attack in an image
  archive in a (a) pull or (b) load operation.