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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Published: 2022-03-24T00:00:00.000Z
- Modified: 2026-09-10T03:50:10.899Z
- Also known as: GHSA-2mm7-x5h6-5pvq, GO-2022-0390
- Related: CGA-mh6p-m8fq-73mf
- Weaknesses: CWE-732
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- moby moby: < 20.10.14
- github.com/moby/moby (Go): before 20.10.14; before 20.10.14+incompatible
- github.com/docker/docker (Go): before 20.10.14; before 20.10.14+incompatible
- mobyproject moby: before 20.10.14
- fedoraproject fedora: 34; 35; 36
- linuxfoundation runc: before 1.1.2
- debian debian_linux: 11.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

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

## Sources

- CVE List: [CVE-2022-24769](https://www.cve.org/CVERecord?id=CVE-2022-24769), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2mm7-x5h6-5pvq](https://github.com/advisories/GHSA-2mm7-x5h6-5pvq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0390](https://pkg.go.dev/vuln/GO-2022-0390), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-24769](https://nvd.nist.gov/vuln/detail/CVE-2022-24769), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24769 · Whole record: https://cve.day/CVE-2022-24769.json · Rebuilt by cve.day 2026-11-25T22:58:10.256Z
