CVE-2023-28642

AppArmor bypass with symlinked /proc in runc

State
Published
Severity
6.1 Medium
Published
Mar 29, 2023
Updated
Feb 12, 2025
Reserved
Mar 20, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LGitHub_M

Weaknesses

  • CWE-281 Improper Preservation of Permissions

Affected Products

ProductVersions
runcopencontainers
  • < 1.1.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.