GHSA-g2j6-57v7-gm8c
runc AppArmor bypass with symlinked /proc
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/opencontainers/runc | < 1.1.5 | 1.1.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
It was found that AppArmor, and potentially SELinux, can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration.
### Patches
Fixed in runc v1.1.5, by prohibiting symlinked `/proc`: https://github.com/opencontainers/runc/pull/3785
This PR fixes CVE-2023-27561 as well.
### Workarounds
Avoid using an untrusted container image.
References
External links from the advisory. They lead to third-party sites.