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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.48% (percentile 34, 2026-11-26)
- **CWE:** CWE-732
- **Aliases:** GHSA-2mm7-x5h6-5pvq, GO-2022-0390
- **Published:** 2022-03-24T00:00:00.000Z
- **Modified:** 2026-09-10T03:50:10.899Z

## Who should check

- Projects that depend on Go package github.com/moby/moby (\< 20.10.14)
- Projects that depend on Go package github.com/docker/docker (\< 20.10.14)
- Anyone running moby \< 20.10.14

## 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.

## Affected and fixed versions

- Go `github.com/moby/moby`: affected \< 20.10.14; fixed 20.10.14, 20.10.14+incompatible (osv)
- Go `github.com/docker/docker`: affected \< 20.10.14; fixed 20.10.14, 20.10.14+incompatible (osv)
- moby: \< 20.10.14 (cvelist)

## Mitigation

- Upgrade github.com/moby/moby to one of 20.10.14, 20.10.14+incompatible (or later in the same release line).
- Upgrade github.com/docker/docker to one of 20.10.14, 20.10.14+incompatible (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-24769. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-24769.md
Affected: github.com/moby/moby < 20.10.14; github.com/docker/docker < 20.10.14
Fixed in: 20.10.14, 20.10.14+incompatible

Steps:
1. Search this machine and project for github.com/moby/moby (Go), github.com/docker/docker (Go), moby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-24769 being exploited?

There is no confirmed exploitation: CVE-2022-24769 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-24769?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-24769?

github.com/moby/moby \< 20.10.14; github.com/docker/docker \< 20.10.14.

### Is there a fix for CVE-2022-24769?

Yes. Fixed in 20.10.14, 20.10.14+incompatible. Upgrade github.com/moby/moby to one of 20.10.14, 20.10.14+incompatible (or later in the same release line). Upgrade github.com/docker/docker to one of 20.10.14, 20.10.14+incompatible (or later in the same release line).

### How do I check if I'm affected by CVE-2022-24769?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvq>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBL/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCC/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVY/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYG/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBH/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7/>
- vendor: <https://www.debian.org/security/2022/dsa-5162>
- vendor: <https://security.gentoo.org/glsa/202401-31>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-24769>
- patch: <https://github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07f>
- patch: <https://github.com/moby/moby/commit/7f375bcff41ce672cd61e9a31f3eeb2966e3dbe1>
- other: <https://github.com/moby/moby/releases/tag/v20.10.14>
- other: <http://www.openwall.com/lists/oss-security/2022/05/12/1>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBH>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBL>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVY>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYG>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCC>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBH>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBL>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVY>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYG>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCC>
- other: <https://github.com/moby/moby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-24769>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2mm7-x5h6-5pvq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0390> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-24769> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-24769>
