UBUNTU-CVE-2024-21626

Source
https://ubuntu.com/security/CVE-2024-21626
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21626.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-21626
Related
Published
2024-01-31T20:00:00Z
Modified
2024-01-31T20:00:00Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

References

Affected packages

Ubuntu:Pro:18.04:LTS / runc

Package

Name
runc
Purl
pkg:deb/ubuntu/runc?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.4-0ubuntu1~18.04.2+esm1

Affected versions

1.*

1.0.0~rc2+docker1.13.1-0ubuntu1
1.0.0~rc4+dfsg1-2
1.0.0~rc4+dfsg1-6
1.0.0~rc4+dfsg1-6ubuntu0.18.04.1
1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.1
1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2
1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2+esm1
1.0.0~rc10-0ubuntu1~18.04.1
1.0.0~rc10-0ubuntu1~18.04.2
1.0.0~rc93-0ubuntu1~18.04.1
1.0.0~rc93-0ubuntu1~18.04.2
1.0.0~rc95-0ubuntu1~18.04.1
1.0.0~rc95-0ubuntu1~18.04.2
1.0.1-0ubuntu2~18.04.1
1.1.0-0ubuntu1~18.04.1
1.1.4-0ubuntu1~18.04.1
1.1.4-0ubuntu1~18.04.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2+esm1",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2+esm1",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2+esm1",
            "binary_name": "runc-dbgsym"
        }
    ],
    "priority_reason": "Allows an attacker to escape containers"
}

Ubuntu:20.04:LTS / runc

Package

Name
runc
Purl
pkg:deb/ubuntu/runc?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.7-0ubuntu1~20.04.2

Affected versions

1.*

1.0.0~rc8+git20190923.3e425f80-0ubuntu1
1.0.0~rc10-0ubuntu1
1.0.0~rc93-0ubuntu1~20.04.1
1.0.0~rc93-0ubuntu1~20.04.2
1.0.0~rc95-0ubuntu1~20.04.1
1.0.0~rc95-0ubuntu1~20.04.2
1.0.1-0ubuntu2~20.04.1
1.1.0-0ubuntu1~20.04.1
1.1.0-0ubuntu1~20.04.2
1.1.4-0ubuntu1~20.04.1
1.1.4-0ubuntu1~20.04.2
1.1.4-0ubuntu1~20.04.3
1.1.7-0ubuntu1~20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.1.7-0ubuntu1~20.04.2",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.7-0ubuntu1~20.04.2",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.7-0ubuntu1~20.04.2",
            "binary_name": "runc-dbgsym"
        }
    ],
    "priority_reason": "Allows an attacker to escape containers"
}

Ubuntu:22.04:LTS / runc

Package

Name
runc
Purl
pkg:deb/ubuntu/runc?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.7-0ubuntu1~22.04.2

Affected versions

1.*

1.0.1-0ubuntu2
1.0.1-0ubuntu3
1.0.3-0ubuntu1
1.1.0-0ubuntu1
1.1.0-0ubuntu1.1
1.1.4-0ubuntu1~22.04.1
1.1.4-0ubuntu1~22.04.2
1.1.4-0ubuntu1~22.04.3
1.1.7-0ubuntu1~22.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.1.7-0ubuntu1~22.04.2",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.7-0ubuntu1~22.04.2",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.7-0ubuntu1~22.04.2",
            "binary_name": "runc-dbgsym"
        }
    ],
    "priority_reason": "Allows an attacker to escape containers"
}

Ubuntu:24.04:LTS / runc

Package

Name
runc
Purl
pkg:deb/ubuntu/runc?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.12+ds1-2ubuntu1

Affected versions

1.*

1.1.7-0ubuntu2
1.1.10+ds1-1ubuntu1
1.1.10+ds1-1ubuntu2
1.1.12+ds1-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1.1.12+ds1-2ubuntu1",
            "binary_name": "golang-github-opencontainers-runc-dev"
        }
    ],
    "priority_reason": "Allows an attacker to escape containers"
}