Amazon Linux 1 Security Advisory: ALAS-2019-1245
Advisory Release Date: 2019-07-17 23:53 Pacific
Advisory Updated Date: 2019-07-25 18:46 Pacific
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.
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