ALAS-2021-1537


Amazon Linux AMI Security Advisory: ALAS-2021-1537
Advisory Release Date: 2021-09-30 19:22 Pacific
Advisory Updated Date: 2021-10-04 22:22 Pacific
Severity: Medium

Issue Overview:

A bug was found in Moby (Docker Engine) where attempting to copy files using docker cp into a specially-crafted container can result in Unix file permission changes for existing files in the host 2019s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. (CVE-2021-41089)

A bug was found in Moby (Docker Engine) where the data directory (typically /var/lib/docker) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as setuid), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. (CVE-2021-41091)

A bug was found in the Docker CLI where running docker login my-private-registry.example.com with a misconfigured configuration file (typically ~/.docker/config.json) listing a credsStore or credHelpers that could not be executed would result in any provided credentials being sent to registry-1.docker.io rather than the intended private registry. (CVE-2021-41092)


Affected Packages:

docker


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

New Packages:
src:
    docker-20.10.7-3.71.amzn1.src

x86_64:
    docker-20.10.7-3.71.amzn1.x86_64
    docker-debuginfo-20.10.7-3.71.amzn1.x86_64