p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de runc

Vulnérabilités publiées pour runc au cours des 30 derniers jours : 0. Présentes dans le catalogue KEV : 0.

RSS ↗
Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 18

  1. CVE-2026-41579

    Faible · CVSS 3.3EPSS 0,19%Aucun correctif publié

    runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations

    runc is a CLI tool for spawning and running containers according to the OCI specification. In versions prior to 1.3.6, 1.4.0-rc.1, 1.4.0-rc.12, 1.5.0-rc.1, and 1.5.0-rc.1, when setting up the container rootfs, setupPtmx and setupDevSymlinks call os.Remove and os.Symlink with a filepath.Join string which allow an image with /dev as a symlink to trick runc into deleting files called ptmx on the host or creating a hardcoded set of symlinks with specific names and targets in an arbitrary pre-existing host directory. This issue is not exploitable under Docker, because Docker creates a top-level read-only layer that masks any malicious /dev symlink

    Publication Mise à jour
  2. CVE-2025-52881

    Élevée · CVSS 7.3EPSS 0,57%Aucun correctif publié

    runc: LSM labels can be bypassed with malicious config using dummy procfs files

    runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the

    Publication Mise à jour
  3. CVE-2025-52565

    Élevée · CVSS 8.4EPSS 0,57%Aucun correctif publié

    container escape due to /dev/console mount and related races

    runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured

    Publication Mise à jour
  4. CVE-2025-31133

    Élevée · CVSS 7.3EPSS 0,84%Aucun correctif publié

    runc container escape via "masked path" abuse due to mount race conditions

    runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.

    Publication Mise à jour
  5. CVE-2024-45310

    Faible · CVSS 3.6EPSS 0,32%Aucun correctif publié

    runc can be confused to create empty files/directories on the host

    runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significan

    Publication Mise à jour
  6. CVE-2024-21626

    Élevée · CVSS 8.6EPSS 18,92%Code d’exploitation publicCorrectif disponible

    runc container breakout through process.cwd trickery and leaked fds

    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 com

    • Mettez à jour vers 1.1.5+ds1-1+deb12u1
    Publication Mise à jour
  7. CVE-2023-25809

    Moyenne · CVSS 5EPSS 0,32%Correctif disponible

    rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc

    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/

    • Mettez à jour vers 1.1.5+ds1-1
    Publication Mise à jour
  8. CVE-2023-28642

    Moyenne · CVSS 6.1EPSS 0,34%Correctif disponible

    AppArmor bypass with symlinked /proc in runc

    runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.

    • Mettez à jour vers 1.1.5+ds1-1
    Publication Mise à jour
  9. CVE-2023-27561

    Élevée · CVSS 7EPSS 0,45%Correctif disponible

    CVE-2023-27561

    runc through 1.1.4 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. NOTE: this issue exists because of a CVE-2019-19921 regression.

    • Mettez à jour vers 1.1.5+ds1-1
    Publication Mise à jour
  10. CVE-2022-29162

    Moyenne · CVSS 5.9EPSS 0,39%Correctif disponible

    Incorrect Default Permissions in runc

    runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes 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). 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 runc 1.1.2. This fix changes `runc exec --cap` beh

    • Mettez à jour vers 1.1.3+ds1-1
    Publication Mise à jour
  11. CVE-2021-43784

    Moyenne · CVSS 6EPSS 1,8%Correctif disponible

    Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration

    runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc, netlink is used internally as a serialization system for specifying the relevant container configuration to the `C` portion of the code (responsible for the based namespace setup of containers). In all versions of runc prior to 1.0.3, the encoder did not handle the possibility of an integer overflow in the 16-bit length field for the byte array attribute type, meaning that a large enough malicious byte array attribute could result in the length overflowing and the attribute contents being parsed as netlink messages for container config

    • Mettez à jour vers 1.0.3+ds1-1
    Publication Mise à jour
  12. CVE-2021-30465

    Élevée · CVSS 8.5EPSS 10,24%Correctif disponible

    CVE-2021-30465

    runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.

    • Mettez à jour vers 1.0.0~rc93+ds1-5
    Publication Mise à jour
  13. CVE-2019-19921

    Élevée · CVSS 7EPSS 0,43%Correctif disponible

    CVE-2019-19921

    runc through 1.0.0-rc9 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. (This vulnerability does not affect Docker due to an implementation detail that happens to block the attack.)

    • Mettez à jour vers 1.0.0~rc10+dfsg1-1
    Publication Mise à jour
  14. CVE-2019-16884

    Élevée · CVSS 7.5EPSS 4,41%Correctif disponible

    CVE-2019-16884

    runc through 1.0.0-rc8, as used in Docker through 19.03.2-ce and other products, allows AppArmor restriction bypass because libcontainer/rootfs_linux.go incorrectly checks mount targets, and thus a malicious Docker image can mount over a /proc directory.

    • Mettez à jour vers 1.0.0~rc9+dfsg1-1
    Publication Mise à jour
  15. CVE-2019-5736

    Élevée · CVSS 8.6EPSS 98,45%Code d’exploitation publicCorrectif disponible

    CVE-2019-5736

    runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

    • Mettez à jour vers 1.0.0~rc6+dfsg1-2
    Publication Mise à jour
  16. CVE-2016-9962

    Moyenne · CVSS 6.4EPSS 0,41%Correctif disponible

    CVE-2016-9962

    RunC allowed additional container processes via 'runc exec' to be ptraced by the pid 1 of the container. This allows the main processes of the container, if running as root, to gain access to file-descriptors of these new processes during the initialization and can lead to container escapes or modification of runC state before the process is fully placed inside the container.

    • Mettez à jour vers 0.1.1+dfsg1-2
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →