CVE-2022-24769
Last modified
CVE-2022-24769 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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)`. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mobyproject | Moby | < 20.10.14 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Linuxfoundation | Runc | < 1.1.2 |
| Debian | Debian Linux | 11.0 |
References
- http://www.openwall.com/lists/oss-security/2022/05/12/1Mailing List, Third Party Advisory
- https://github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07fPatch, Third Party Advisory
- https://github.com/moby/moby/releases/tag/v20.10.14Release Notes, Third Party Advisory
- https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvqMitigation, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5162Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/05/12/1Mailing List, Third Party Advisory
- https://github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07fPatch, Third Party Advisory
- https://github.com/moby/moby/releases/tag/v20.10.14Release Notes, Third Party Advisory
- https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvqMitigation, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5162Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24769?
How severe is CVE-2022-24769?
How do I fix CVE-2022-24769?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24763PJSIP is a free and open source multimedia communication lib…7.5
- CVE-2022-24764PJSIP is a free and open source multimedia communication lib…7.5
- CVE-2022-24765Git for Windows is a fork of Git containing Windows-specific…7.8
- CVE-2022-24766mitmproxy is an interactive, SSL/TLS-capable intercepting pr…9.8
- CVE-2022-24767GitHub: Git for Windows' uninstaller vulnerable to DLL hijac…7.8
- CVE-2022-24768Argo CD is a declarative, GitOps continuous delivery tool fo…8.8
- CVE-2022-2477Use after free in Guest View in Google Chrome prior to 103.0…8.8
- CVE-2022-24770`gradio` is an open source framework for building interactiv…8.8
- CVE-2022-24771Forge (also called `node-forge`) is a native implementation …7.5
- CVE-2022-24772Forge (also called `node-forge`) is a native implementation …7.5
- CVE-2022-24773Forge (also called `node-forge`) is a native implementation …5.3
- CVE-2022-24774CycloneDX BOM Repository Server is a bill of materials (BOM)…8.1
Are you affected by CVE-2022-24769?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
