CVE-2023-28642
MEDIUM6.1EPSS 0.01%AppArmor bypass with symlinked /proc in github.com/opencontainers/runc
Published: 3/30/2023Modified: 4/28/2026
Description
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.
Affected packages (3)
- Debian/runcfrom 0, < 1.0.0~rc93+ds1-5+deb11u5
- Go/github.com/opencontainers/runcfrom 0, < 1.1.5
- Go/github.com/opencontainers/runcfrom 0, < 1.1.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-28642
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-28642
- PATCHhttps://github.com/opencontainers/runc
- WEBhttps://github.com/opencontainers/runc/pull/3785
- WEBhttps://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c
- WEBhttps://security.netapp.com/advisory/ntap-20241206-0005