Amazon Linux 2 Security Advisory: ALASNITRO-ENCLAVES-2021-004
Advisory Release Date: 2021-10-19 19:11 Pacific
Advisory Updated Date: 2021-11-18 21:37 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
Note:
This advisory is applicable to Amazon Linux 2 - Nitro-enclaves Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update docker to update your system.
aarch64:
docker-18.06.1ce-10.amzn2.aarch64
docker-debuginfo-18.06.1ce-10.amzn2.aarch64
src:
docker-18.06.1ce-10.amzn2.src
x86_64:
docker-18.06.1ce-10.amzn2.x86_64
docker-debuginfo-18.06.1ce-10.amzn2.x86_64