QID 352849

Date Published: 2021-10-06

QID 352849: Amazon Linux Security Advisory for docker: ALAS-2021-1537

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2021-1537 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352849

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2021-1537 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2021-1537.html