MGASA-2021-0500 - Updated docker packages fix security vulnerabilities

Publication date: 31 Oct 2021
URL: https://advisories.mageia.org/MGASA-2021-0500.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-41089,
     CVE-2021-41091,
     CVE-2021-41092

Updated docker packages fix security vulnerabilities:

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 hosts 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.' 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).

References:
- https://bugs.mageia.org/show_bug.cgi?id=29527
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41089
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41091
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41092

SRPMS:
- 8/core/docker-20.10.9-3.mga8

Mageia 2021-0500: docker security update

Updated docker packages fix security vulnerabilities: A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container c...

Summary

Updated docker packages fix security vulnerabilities:
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 hosts 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.' 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).

References

- https://bugs.mageia.org/show_bug.cgi?id=29527

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41089

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41091

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41092

Resolution

MGASA-2021-0500 - Updated docker packages fix security vulnerabilities

SRPMS

- 8/core/docker-20.10.9-3.mga8

Severity
Publication date: 31 Oct 2021
URL: https://advisories.mageia.org/MGASA-2021-0500.html
Type: security
CVE: CVE-2021-41089, CVE-2021-41091, CVE-2021-41092

Related News