docker.io: CVE-2018-15664

Related Vulnerabilities: CVE-2018-15664   cve-2018-15664  

Debian Bug report logs - #929662
docker.io: CVE-2018-15664

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 28 May 2019 04:48:02 UTC

Severity: grave

Tags: fixed-upstream, security, upstream

Found in versions docker.io/18.09.5+dfsg1-1, docker.io/18.09.1+dfsg1-7, docker.io/18.09.1+dfsg1-7~deb10u1

Forwarded to https://github.com/docker/docker/pull/39252

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, team@security.debian.org, Dmitry Smirnov <onlyjob@debian.org>:
Bug#929662; Package src:docker.io. (Tue, 28 May 2019 04:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, team@security.debian.org, Dmitry Smirnov <onlyjob@debian.org>. (Tue, 28 May 2019 04:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: docker.io: CVE-2018-15664
Date: Tue, 28 May 2019 06:45:30 +0200
Source: docker.io
Version: 18.09.1+dfsg1-7
Severity: grave
Tags: security upstream
Justification: user security hole
Forwarded: https://github.com/docker/docker/pull/39252
Control: found -1 18.09.1+dfsg1-7~deb10u1
Control: found -1 18.09.5+dfsg1-1

Hi,

The following vulnerability was published for docker.io.

CVE-2018-15664[0]:
| In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker
| cp' command are vulnerable to a symlink-exchange attack with Directory
| Traversal, giving attackers arbitrary read-write access to the host
| filesystem with root privileges, because daemon/archive.go does not do
| archive operations on a frozen filesystem (or from within a chroot).


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2018-15664
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15664
[1] https://github.com/docker/docker/pull/39252
[2] https://www.openwall.com/lists/oss-security/2019/05/28/1

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Marked as found in versions docker.io/18.09.1+dfsg1-7~deb10u1. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Tue, 28 May 2019 04:48:04 GMT) (full text, mbox, link).


Marked as found in versions docker.io/18.09.5+dfsg1-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Tue, 28 May 2019 04:48:05 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Mon, 03 Jun 2019 19:33:14 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dmitry Smirnov <onlyjob@debian.org>:
Bug#929662; Package src:docker.io. (Sun, 09 Jun 2019 02:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Afif Elghraoui <afif@debian.org>:
Extra info received and forwarded to list. Copy sent to Dmitry Smirnov <onlyjob@debian.org>. (Sun, 09 Jun 2019 02:33:03 GMT) (full text, mbox, link).


Message #16 received at 929662@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@debian.org>
To: 929662@bugs.debian.org
Subject: docker.io: CVE-2018-15664 - upstream backport of patch for 18.09
Date: Sat, 8 Jun 2019 22:31:03 -0400
Hello,

Is any help needed on this? Upstream has a backport of the patch for the
18.09 series (same as Unstable):

  https://github.com/docker/engine/pull/253

Hopefully it won't be too much work to incorporate it.

thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
https://afif.ghraoui.name



Information forwarded to debian-bugs-dist@lists.debian.org, Dmitry Smirnov <onlyjob@debian.org>:
Bug#929662; Package src:docker.io. (Mon, 10 Jun 2019 04:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Arnaud Rebillout <arnaud.rebillout@collabora.com>:
Extra info received and forwarded to list. Copy sent to Dmitry Smirnov <onlyjob@debian.org>. (Mon, 10 Jun 2019 04:57:02 GMT) (full text, mbox, link).


Message #21 received at 929662@bugs.debian.org (full text, mbox, reply):

From: Arnaud Rebillout <arnaud.rebillout@collabora.com>
To: Afif Elghraoui <afif@debian.org>, 929662@bugs.debian.org
Subject: Re: Bug#929662: docker.io: CVE-2018-15664 - upstream backport of patch for 18.09
Date: Mon, 10 Jun 2019 11:54:08 +0700
  Hi,

thanks for reaching out. I applied the patch, that is no problem.
However the new tests that were added makes my machine go crazy and
reach the maximum number of process. Right now I'm configured like that:

    $ ulimit -u
    62688

I will bumb this number but I also want to check a bit more in details
what's happening and report that upstream, as I don't know if this is
expected behavior or not.

You can checkout the branch at
https://salsa.debian.org/docker-team/docker/tree/arnaudr/cve-2018-15664
and try it by yourself if you're curious.

In the meantime, I reached out to the release team at #930293 to prepare
for the next unblock.

So things are in progress, no need for help on this particular issue,
but in general if you're interested in the docker package, then help
with the packaging is more than welcome :)

  Arnaud


On 6/9/19 9:31 AM, Afif Elghraoui wrote:
> Hello,
>
> Is any help needed on this? Upstream has a backport of the patch for the
> 18.09 series (same as Unstable):
>
>   https://github.com/docker/engine/pull/253
>
> Hopefully it won't be too much work to incorporate it.
>
> thanks and regards
> Afif
>



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 17:20:36 2019; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.