ALAS-2019-1245

Related Vulnerabilities: CVE-2018-15664  

A flaw was discovered in the API endpoint behind the 'docker cp' command. The endpoint is vulnerable to a Time Of Check to Time Of Use (TOCTOU) vulnerability in the way it handles symbolic links inside a container. An attacker who has compromised an existing container can cause arbitrary files on the host filesystem to be read/written when an administrator tries to copy a file from/to the container. (CVE-2018-15664)

ALAS-2019-1245


Amazon Linux AMI Security Advisory: ALAS-2019-1245
Advisory Release Date: 2019-07-17 23:53 Pacific
Advisory Updated Date: 2019-07-25 18:46 Pacific
Severity: Medium
References: CVE-2018-15664 

Issue Overview:

A flaw was discovered in the API endpoint behind the 'docker cp' command. The endpoint is vulnerable to a Time Of Check to Time Of Use (TOCTOU) vulnerability in the way it handles symbolic links inside a container. An attacker who has compromised an existing container can cause arbitrary files on the host filesystem to be read/written when an administrator tries to copy a file from/to the container. (CVE-2018-15664)


Affected Packages:

docker


Issue Correction:
Run yum update docker to update your system.

New Packages:
src:
    docker-18.06.1ce-10.32.amzn1.src

x86_64:
    docker-18.06.1ce-10.32.amzn1.x86_64
    docker-debuginfo-18.06.1ce-10.32.amzn1.x86_64