CVE-2021-41091

Aliases:GHSA-3fwx-pjgw-3558GO-2024-2500
Modified
Published: 04 Oct 2021, 20:20
Last modified:04 Aug 2024, 02:59

Vulnerability Summary

Overall Risk (default)
medium
26/100
CVSS Score
6.3 MEDIUM
v3.1 (cve.org)
EPSS Score
4.75% LOW
5% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

04 Oct 2021, 20:20
Published
Vulnerability first disclosed
04 Aug 2024, 02:59
Last Modified
Vulnerability information updated

Description

Moby is an open-source project created by Docker to enable software containerization. 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. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.

CVSS Metrics

  • v3.1MEDIUMScore: 6.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • v2.0MEDIUMScore: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 4.75% Percentile: 90%

Techniques & Countermeasures

  • CWE-732Incorrect Permission Assignment for Critical Resource

    The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

  • CWE-281Improper Preservation of Permissions

    The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.

Affected Systems

  • fedoraprojectfedora

    34 | 35

  • github.com/dockerdocker

    < 20.10.9+incompatible | < 20.10.9

  • github.com/mobymoby

    < 20.10.9+incompatible | < 20.10.9

  • mobymoby

    < 20.10.9

  • mobyprojectmoby

    < 20.10.9

References (9)