ALAS2NITRO-ENCLAVES-2021-004

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)

ALAS2NITRO-ENCLAVES-2021-004


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
Severity: Important
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:
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