Advisory

GHSA-g2j6-57v7-gm8c

Also known as: CVE-2023-28642, GO-2023-1683

Summary

runc AppArmor bypass with symlinked /proc

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-03-30 20:20 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/opencontainers/runc

Go · All systems

Affected

  • introduced 0, fixed 1.1.5 (semver)

Fixed versions

1.1.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences