CVE-2023-28642
Docker Compose vulnerability analysis and mitigation

Overview

runc, a CLI tool for spawning and running containers according to the OCI specification, was found to contain a security vulnerability (CVE-2023-28642) where AppArmor could be bypassed when /proc inside the container is symlinked with a specific mount configuration. This vulnerability was discovered and disclosed in March 2023, affecting all versions of runc prior to 1.1.5 (NVD, GitHub Advisory).

Technical details

The vulnerability stems from a security check bypass related to symlinked /proc directories in containers. The issue occurs when /proc inside the container is symlinked with a specific mount configuration, which could lead to AppArmor security controls being circumvented. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) by NIST with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while GitHub assigned it a score of 6.1 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L (NVD).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability potentially affects both AppArmor and SELinux security controls, which are critical security mechanisms in container environments (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in runc version 1.1.5 by prohibiting symlinked /proc directories. Users are strongly advised to upgrade to this version or later. For those unable to upgrade immediately, the recommended workaround is to avoid using untrusted container images (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Docker Compose vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62725HIGH8.9
  • Docker ComposeDocker Compose
  • github.com/docker/compose/v2
NoYesOct 27, 2025
CVE-2025-47913HIGH7.5
  • PackerPacker
  • container-tools:rhel8::buildah-tests
NoYesNov 13, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • cloud-provider-aws-fips-1.30
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • kyverno-policy-reporter-fips
NoYesNov 19, 2025
CVE-2025-54388MEDIUM5.1
  • cAdvisorcAdvisor
  • buildkitd-fips
NoYesJul 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management