ubuntu-cve-2024-21626
Vulnerability from osv_ubuntu
Published
2024-01-31 20:00
Modified
2026-06-29 11:12
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "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"
          }
        ],
        "priority_reason": "Allows an attacker to escape containers"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.4-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.4-0ubuntu1~18.04.2+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": "No subscription required",
        "binaries": [
          {
            "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"
          }
        ],
        "priority_reason": "Allows an attacker to escape containers"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.7-0ubuntu1~20.04.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.7-0ubuntu1~20.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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",
        "binaries": [
          {
            "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"
          }
        ],
        "priority_reason": "Allows an attacker to escape containers"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.7-0ubuntu1~22.04.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.7-0ubuntu1~22.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2024-21626",
  "modified": "2026-06-29T11:12:06Z",
  "published": "2024-01-31T20:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21626"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6619-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-21626"
    }
  ],
  "related": [
    "USN-6619-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-21626"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…