AppArmor bypass with symlinked /proc in runc
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-28642
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:19 UTC · Revision 1
Source evidence
AppArmor bypass with symlinked /proc in runc
core-osv · Original sourcePublished 29 Mar 2023, 18:15 UTC
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.
osv:CVE-2023-28642
Complete source record
{
"id": "ce4901db8e008ddf366eb7172fa966607086c72bdeb52dbfa332aaa7d933dfd9",
"url": "https://osv.dev/vulnerability/CVE-2023-28642",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AppArmor bypass with symlinked /proc in runc",
"summary": "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.",
"evidence": "osv:CVE-2023-28642",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-28642",
"aliases": [
"CVE-2023-28642",
"GHSA-g2j6-57v7-gm8c",
"GO-2023-1683"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opencontainers/runc",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f19387a6bec4944c770f7668ab51c4348d9c2f38"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.1.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.1.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.1.0",
"v1.0.0-rc2",
"v0.0.8",
"v0.0.7",
"v0.0.6",
"v0.0.5",
"v0.0.4",
"v0.0.2",
"v0.0.3",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28642.json"
}
}
],
"modified": "2026-10-28T02:30:38.695106362Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28642.json",
"https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
"https://nvd.nist.gov/vuln/detail/CVE-2023-28642",
"https://security.netapp.com/advisory/ntap-20241206-0005/",
"https://github.com/opencontainers/runc/pull/3785"
],
"provider_metadata": {
"cwe_ids": [
"CWE-281"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28642.json"
}
},
"related_cves": [
{
"value": "CVE-2023-28642",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506095,
"published_at": "2023-03-29T18:15:48.957+00:00"
}