UBUNTU-CVE-2023-25809

Source
https://ubuntu.com/security/CVE-2023-25809
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25809.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-25809
Related
Published
2023-03-29T19:15:00Z
Modified
2023-03-29T19:15:00Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

runc is a CLI tool for spawning and running containers according to the OCI specification. In affected versions it was found that rootless runc makes /sys/fs/cgroup writable in following conditons: 1. when runc is executed inside the user namespace, and the config.json does not specify the cgroup namespace to be unshared (e.g.., (docker|podman|nerdctl) run --cgroupns=host, with Rootless Docker/Podman/nerdctl) or 2. when runc is executed outside the user namespace, and /sys is mounted with rbind, ro (e.g., runc spec --rootless; this condition is very rare). A container may gain the write access to user-owned cgroup hierarchy /sys/fs/cgroup/user.slice/... on the host . Other users's cgroup hierarchies are not affected. Users are advised to upgrade to version 1.1.5. Users unable to upgrade may unshare the cgroup namespace ((docker|podman|nerdctl) run --cgroupns=private). This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts. or add /sys/fs/cgroup to maskedPaths.

References

Affected packages

Ubuntu:Pro:16.04:LTS / runc

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4

Affected versions

0.*

0.0.8+dfsg-2
0.1.1-0ubuntu5~16.04

1.*

1.0.0~rc1-0ubuntu1~16.04
1.0.0~rc1-0ubuntu2~16.04.1
1.0.0~rc1-0ubuntu2~16.04.1.1
1.0.0~rc2-0ubuntu2~16.04.1
1.0.0~rc2+docker1.12.6-0ubuntu1~16.04.1
1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1
1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.2
1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.3
1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4
1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm1
1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4",
            "binary_name": "runc-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / runc

Package

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

Affected ranges

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

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~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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~18.04.2",
            "binary_name": "runc-dbgsym"
        }
    ]
}

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.4-0ubuntu1~20.04.3

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.4-0ubuntu1~20.04.3",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~20.04.3",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~20.04.3",
            "binary_name": "runc-dbgsym"
        }
    ]
}

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.4-0ubuntu1~22.04.3

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.4-0ubuntu1~22.04.3",
            "binary_name": "golang-github-opencontainers-runc-dev"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~22.04.3",
            "binary_name": "runc"
        },
        {
            "binary_version": "1.1.4-0ubuntu1~22.04.3",
            "binary_name": "runc-dbgsym"
        }
    ]
}