GHSA-g2j6-57v7-gm8c

Suggest an improvement
Source
https://github.com/advisories/GHSA-g2j6-57v7-gm8c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-g2j6-57v7-gm8c/GHSA-g2j6-57v7-gm8c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-g2j6-57v7-gm8c
Aliases
Downstream
CGA (10)
Published
2023-03-30T20:20:23Z
Modified
2026-07-17T21:13:59Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-281",
        "CWE-59"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-03-30T20:20:23Z",
    "nvd_published_at":  "2023-03-29T19:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/opencontainers/runc

Package

Name
github.com/opencontainers/runc
View open source insights on deps.dev
Purl
pkg:golang/github.com/opencontainers/runc

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-g2j6-57v7-gm8c/GHSA-g2j6-57v7-gm8c.json"