7.8
CVSSv3

CVE-2023-28642

Published: 29/03/2023 Updated: 07/11/2023
CVSS v3 Base Score: 7.8 | Impact Score: 5.9 | Exploitability Score: 1.8
VMScore: 0

Vulnerability Summary

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`. (CVE-2023-25809) runc up to and including 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. (CVE-2023-27561) 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. (CVE-2023-28642)

Vulnerable Product Search on Vulmon Subscribe to Product

linuxfoundation runc

Vendor Advisories

Synopsis Moderate: container-tools:30 security update Type/Severity Security Advisory: Moderate Red Hat Insights patch analysis Identify and remediate systems affected by this advisory View affected systems Topic An update for the container-tools:30 module is now available for Red Hat Enterprise Linux 84 Advanced Mission Critica ...
Synopsis Moderate: runc security update Type/Severity Security Advisory: Moderate Red Hat Insights patch analysis Identify and remediate systems affected by this advisory View affected systems Topic An update for runc is now available for Red Hat Enterprise Linux 9Red Hat Product Security has rated this update as having a security ...
DescriptionThe MITRE CVE dictionary describes this issue as: 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 115, by prohibiting symlink ...
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 `configjson` does not specify the cgroup namespace to be unshared (eg, `(docker|podman ...
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 `configjson` does not specify the cgroup namespace to be unshared (eg, `(docker|podman ...
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 `configjson` does not specify the cgroup namespace to be unshared (eg, `(docker|podman ...

Github Repositories

The vulnerabilities i've found

my_vulnerabilities 1 Cloud Native Projects 11 bitnami/laravel 111 [DONE] CVE-2021-21979: APP_KEY is fixed in docker image bitnami/laravel Timeline: 2021-02-23 Reported to bitnami 2021-02-24 Fixed 2021-02-24 CVE number assigned DONE 12 meshery 121 [DONE] CVE-2021-31856: A Sql Injection in Meshery githubcom/ssst0n3/CVE-2021-31856 Timeline: 2021-04-20 Discovered

Frequently Asked Questions

Frequently Asked Questions As stewards of the official images and maintainers of many images ourselves, we often see a lot of questions that surface repeatedly This repository is an attempt to gather some of those and provide some answers! Table of Contents Frequently Asked Questions Table of Contents General Questions What do you mean by "Official"? An image