ALAS2ECS-2023-004
Active ImportantALAS2ECS-2023-004 (important): runc
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-004.html| CVE |
|---|
| CVE-2023-25809 |
| CVE-2023-27561 |
| CVE-2023-28642 |
Description
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)
Read full publisher description 1826 characters
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 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. (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)
Solution
Run yum update runc or yum update --advisory ALAS2ECS-2023-004 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences-
1runc
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- runc-1.1.5-1.amzn2.aarch64
- runc-debuginfo-1.1.5-1.amzn2.aarch64
-
2runc
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- runc-1.1.5-1.amzn2.src
-
3runc
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- runc-1.1.5-1.amzn2.x86_64
- runc-debuginfo-1.1.5-1.amzn2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
6- CVE-2023-25809 https://access.redhat.com/security/cve/CVE-2023-25809
- CVE-2023-27561 https://access.redhat.com/security/cve/CVE-2023-27561
- CVE-2023-28642 https://access.redhat.com/security/cve/CVE-2023-28642
- CVE-2023-25809 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25809
- CVE-2023-27561 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-27561
- CVE-2023-28642 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28642
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-004.html | Unknown | f754edeee02a3b337a15145bd296e6a5c87f0fdc3a6cdce168f3e4a1d6308efd | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-004.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-004.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |