5.9

CVE-2022-24769: Default inheritable capabilities for linux container should be empty

Modified
AliasesMGASA-2022-0117MGASA-2022-0144UBUNTU-CVE-2022-24769
Published 24-03-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-24769 is a medium (CVSS 5.9) vulnerability in debian debian_linux. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 10

Timeline

  1. 24-03-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Moby is an open-source project created by Docker to enable and accelerate software containerization. A bug was found in Moby (Docker Engine) prior to version 20.10.14 where containers were incorrectly started with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during `execve(2)`. Normally, when executable programs have specified permitted file capabilities, otherwise unprivileged users and processes can execute those programs and gain the specified file capabilities up to the bounding set. Due to this bug, containers which included executable programs with inheritable file capabilities allowed otherwise unprivileged users and processes to additionally gain these inheritable file capabilities up to the container's bounding set. Containers which use Linux users and groups to perform privilege separation inside the container are most directly impacted. This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set. This bug has been fixed in Moby (Docker Engine) 20.10.14. Running containers should be stopped, deleted, and recreated for the inheritable capabilities to be reset. This fix changes Moby (Docker Engine) behavior such that containers are started with a more typical Linux environment. As a workaround, the entry point of a container can be modified to use a utility like `capsh(1)` to drop inheritable capabilities prior to the primary process starting.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard11 products
  • ctop< 0.7.7-r13
  • dockerAll versions (No fix recorded)
  • docker-config-mirror-gcrAll versions (No fix recorded)
  • docker-dindAll versions (No fix recorded)
  • docker-initAll versions (No fix recorded)
Wolfi11 products
  • ctop< 0.7.7-r13
  • dockerAll versions (No fix recorded)
  • docker-config-mirror-gcrAll versions (No fix recorded)
  • docker-dindAll versions (No fix recorded)
  • docker-initAll versions (No fix recorded)
Alpine2 products
  • containerd< 1.5.11-r0 | < 1.6.2-r0
  • docker< 20.10.14-r0
Debian2 products
Mageia2 products
  • docker< 20.10.14-3.mga8
  • docker-containerd< 1.5.11-1.mga8
Opensuse2 products
  • containerd&distro=openSUSE Tumbleweed< 1.5.11-1.1
  • docker&distro=openSUSE Tumbleweed< 20.10.14_ce-1.1
Fedoraproject1 product
Github.com/docker1 product
  • docker< 20.10.14 | < 20.10.14+incompatible
Github.com/moby1 product
  • moby< 20.10.14 | < 20.10.14+incompatible
Linuxfoundation1 product
Moby1 product
Mobyproject1 product
Ubuntu1 product
  • containerdAll versions (No fix recorded) | < 1.5.9-0ubuntu1~18.04.2 | < 1.5.9-0ubuntu1~20.04.6 | < 1.5.9-0ubuntu3.1

13 vendors · 37 products

References

41 links
Show all 41 references