github.com/opencontainers/runc
Go17 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting github.com/opencontainers/runcpage 1 of 1
- CVE-2016-3697HIGHCVSS 7.8EG 7.8fixed in 0.1.02016-06-01
libcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a containe…
- CVE-2016-9962MEDIUMCVSS 6.4EG 6.4fixed in 1.0.0-rc32017-01-31
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…
- CVE-2019-16884HIGHCVSS 7.5EG 7.5fixed in 1.0.0-rc8.0.20190930145003-cad42f6e09322019-09-25
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 /…
- CVE-2019-19921HIGHCVSS 7.0EG 7.0fixed in 1.0.0-rc9.0.20200122160610-2fc03cc11c772020-02-12
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, an…
- CVE-2021-30465HIGHCVSS 8.5EG 8.5fixed in 1.0.0-rc952021-05-27
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 …
- CVE-2021-43784MEDIUMCVSS 6.0EG 6.0fixed in 1.0.3 or 1.1.0, by version range2021-12-06
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…
- CVE-2022-29162MEDIUMCVSS 5.9EG 5.9fixed in 1.1.22022-05-17
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 capabilit…
- CVE-2023-25809MEDIUMCVSS 5.0EG 5.0fixed in 1.1.52023-03-29
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 use…
- CVE-2023-27561HIGHCVSS 7.0EG 7.0fixed in 1.1.52023-03-03
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…
- CVE-2023-28642MEDIUMCVSS 6.1EG 6.1fixed in 1.1.52023-03-29
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 f…
- CVE-2024-21626HIGHCVSS 8.6EG 8.6fixed in 1.1.122024-01-31
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 e…
- CVE-2024-45310LOWCVSS 3.6EG 3.6fixed in 1.1.14 or 1.2.0-rc.3, by version range2024-09-03
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 hos…
- CVE-2025-27612MEDIUMCVSS 5.9EG 5.92025-03-21
libcontainer is a library for container control. Prior to libcontainer 0.5.3, while creating a tenant container, the tenant builder accepts a list of capabilities to be added in the spec of tenant container. The logic here adds the given c…
- CVE-2025-31133HIGHCVSS 7.8EG 7.8fixed in 1.2.8, 1.3.3 or 1.4.0-rc.3, by version range2025-11-06
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 sour…
- CVE-2025-52565HIGHCVSS 7.5EG 7.5fixed in 1.2.8, 1.3.3 or 1.4.0-rc.3, by version range2025-11-06
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/p…
- CVE-2025-52881HIGHCVSS 7.5EG 7.5fixed in 1.2.8, 1.3.3 or 1.4.0-rc.3, by version range2025-11-06
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 rac…
- CVE-2026-41579LOWCVSS 3.3EG 3.3fixed in 1.3.6, 1.4.3 or 1.5.0-rc.3, by version range2026-06-22
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 setupDevSymlink…
Check whether github.com/opencontainers/runc is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for github.com/opencontainers/runc CVEs against the assets you own.
Book a Demo →