ubuntu-cve-2022-24769
Vulnerability from osv_ubuntu
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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.2.6-0ubuntu1~16.04.6+esm7"
},
{
"binary_name": "golang-github-docker-containerd-dev",
"binary_version": "1.2.6-0ubuntu1~16.04.6+esm7"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.2.6-0ubuntu1~16.04.6+esm7?arch=source\u0026distro=esm-apps-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.1-0ubuntu4~16.04",
"0.2.3-0ubuntu1~16.04",
"0.2.5-0ubuntu1~16.04.1",
"1.2.6-0ubuntu1~16.04.2",
"1.2.6-0ubuntu1~16.04.3",
"1.2.6-0ubuntu1~16.04.4",
"1.2.6-0ubuntu1~16.04.5",
"1.2.6-0ubuntu1~16.04.6",
"1.2.6-0ubuntu1~16.04.6+esm1",
"1.2.6-0ubuntu1~16.04.6+esm2",
"1.2.6-0ubuntu1~16.04.6+esm4",
"1.2.6-0ubuntu1~16.04.6+esm5",
"1.2.6-0ubuntu1~16.04.6+esm6",
"1.2.6-0ubuntu1~16.04.6+esm7"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.5.9-0ubuntu1~18.04.2"
},
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.5.9-0ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.5.9-0ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.9-0ubuntu1~18.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.5-0ubuntu2",
"1.2.6-0ubuntu1~18.04.1",
"1.2.6-0ubuntu1~18.04.2",
"1.3.3-0ubuntu1~18.04.1",
"1.3.3-0ubuntu1~18.04.2",
"1.3.3-0ubuntu1~18.04.3",
"1.3.3-0ubuntu1~18.04.4",
"1.4.4-0ubuntu1~18.04.2",
"1.5.2-0ubuntu1~18.04.1",
"1.5.2-0ubuntu1~18.04.2",
"1.5.2-0ubuntu1~18.04.3",
"1.5.5-0ubuntu3~18.04.1",
"1.5.5-0ubuntu3~18.04.2",
"1.5.9-0ubuntu1~18.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.5.9-0ubuntu1~20.04.6"
},
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.5.9-0ubuntu1~20.04.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.5.9-0ubuntu1~20.04.6?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.9-0ubuntu1~20.04.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.10-0ubuntu1",
"1.3.2-0ubuntu1",
"1.3.3-0ubuntu1",
"1.3.3-0ubuntu2",
"1.3.3-0ubuntu2.1",
"1.3.3-0ubuntu2.2",
"1.3.3-0ubuntu2.3",
"1.4.4-0ubuntu1~20.04.2",
"1.5.2-0ubuntu1~20.04.1",
"1.5.2-0ubuntu1~20.04.2",
"1.5.2-0ubuntu1~20.04.3",
"1.5.5-0ubuntu3~20.04.1",
"1.5.5-0ubuntu3~20.04.2",
"1.5.9-0ubuntu1~20.04.1",
"1.5.9-0ubuntu1~20.04.4",
"1.5.9-0ubuntu1~20.04.5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.5.9-0ubuntu3.1"
},
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.5.9-0ubuntu3.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.5.9-0ubuntu3.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.9-0ubuntu3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.5-0ubuntu3",
"1.5.9-0ubuntu1",
"1.5.9-0ubuntu2",
"1.5.9-0ubuntu3"
]
}
],
"aliases": [],
"details": "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\u0027s 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\u0027s 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.",
"id": "UBUNTU-CVE-2022-24769",
"modified": "2026-06-25T16:53:02Z",
"published": "2022-03-24T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-24769"
},
{
"type": "REPORT",
"url": "https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c"
},
{
"type": "REPORT",
"url": "https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvq"
},
{
"type": "REPORT",
"url": "https://github.com/moby/moby/releases/tag/v20.10.14"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5776-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-24769"
}
],
"related": [
"USN-5776-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-24769"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.