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

Published Mar 29, 2023
·
Updated

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.

Other sources

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.

References:

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

Red Hat

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.

Launchpad

Affected Software

4 affected componentsFixes available
redhat/runc<1.1.5
1.1.5
go/github.com/opencontainers/runc<1.1.5
1.1.5
linuxfoundation Runc<1.1.5
debian/runc<=1.0.0~rc93+ds1-5+deb11u3
1.0.0~rc93+ds1-5+deb11u51.1.5+ds1-1+deb12u11.1.15+ds1-2

Event History

Mar 29, 2023
CVE Published
via MITRE·06:15 PM
Data Sourced
via MITRE·06:15 PM
DescriptionSeverityWeakness
Mar 30, 2023
Advisory Published
via GitHub·08:20 PM
Jan 12, 2024
Data Sourced
via Launchpad·12:18 AM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·08:14 PM
RemedyDescriptionSeverityAffected Software
Feb 21, 2025
Data Sourced
via Debian·11:37 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-28642?

CVE-2023-28642 is a vulnerability found in the runc CLI tool, which allows bypassing of AppArmor security when `/proc` inside a container is symlinked with a specific mount configuration.

2

What is the severity of CVE-2023-28642?

CVE-2023-28642 has a severity rating of medium with a severity value of 4.

3

How can the CVE-2023-28642 vulnerability be fixed?

The CVE-2023-28642 vulnerability can be fixed by upgrading to runc version 1.1.5 or higher.

4

Where can I find more information about CVE-2023-28642?

You can find more information about CVE-2023-28642 on the official GitHub page of runc and the Open Containers Initiative (OCI) security advisories.

5

What is the affected software for CVE-2023-28642?

The affected software for CVE-2023-28642 includes runc version 1.0.0~ up to but excluding 1.1.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203