CVE-2023-27561: Github.com/opencontainers/runc Opencontainers Runc Incorrect Authorization Vulnerability Vulnerability
HIGHCVE-2023-27561 is a HIGH (CVSS 7.0) opencontainers runc incorrect authorization vulnerability vulnerability (CWE-706: Use of Incorrectly-Resolved Name or Reference) affecting Github.com/opencontainers/runc libraries in the Go ecosystem. The issue involves opencontainers runc incorrect authorization vulnerability. Remediation is available by upgrading affected packages to version 1.1.5.
CVE-2023-27561 at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-27561
To remediate this vulnerability, upgrade all affected Github.com/opencontainers/runc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/opencontainers/runc to 1.1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/opencontainers/runc
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-27561, inspect your project dependencies for Github.com/opencontainers/runc:
inspect dependencies for github.com/opencontainers/runc
Analyze the terminal output to locate any version of Github.com/opencontainers/runc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-706: Use of Incorrectly-Resolved Name or Reference, where the product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere. In Github.com/opencontainers/runc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-27561 Affected Github.com/opencontainers/runc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/opencontainers/runc
|
Go |
≥ 1.0.0-rc95
< 1.1.5
|
1.1.5
|
References
Frequently Asked Questions
What is CVE-2023-27561?
Which Github.com/opencontainers/runc versions are affected?
What version fixes CVE-2023-27561?
Is github.com/opencontainers/runc affected?
What is the CVSS score of CVE-2023-27561?
What CWE is associated with CVE-2023-27561?
How can I check Go dependencies for CVE-2023-27561?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vpvm-3wq2-2wvm",
"modified" : "2024-12-06T15:31:17Z",
"published" : "2023-03-03T21:30:19Z",
"aliases" : [ "CVE-2023-27561" ],
"summary" : "Opencontainers runc Incorrect Authorization vulnerability",
"details" : "runc 1.0.0-rc95 through 1.1.4 has Incorrect Access Control leading to Escalation of Privileges, related to `libcontainer/rootfs_linux.go`. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. NOTE: this issue exists because of a CVE-2019-19921 regression.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/opencontainers/runc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0-rc95"
}, {
"fixed" : "1.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27561"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/issues/2197#issuecomment-1437617334"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/issues/3751"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/pull/3785"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20241206-0004"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6BF24VCZRFTYBTT3T7HDZUOTKOTNPLZ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FYVE3GB4OG3BNT5DLQHYO4M5SXX33AQ5"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNB2UEDIIJCRQW4WJLZOPQJZXCVSXMLD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DHGVGGMKGZSJ7YO67TGGPFEHBYMS63VF"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANUGDBJ7NBUMSUFZUSKU3ZMQYZ2Z3STN"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6BF24VCZRFTYBTT3T7HDZUOTKOTNPLZ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FYVE3GB4OG3BNT5DLQHYO4M5SXX33AQ5"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNB2UEDIIJCRQW4WJLZOPQJZXCVSXMLD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DHGVGGMKGZSJ7YO67TGGPFEHBYMS63VF"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ANUGDBJ7NBUMSUFZUSKU3ZMQYZ2Z3STN"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/releases/tag/v1.1.5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/opencontainers/runc"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/LiveOverflow/c937820b688922eb127fb760ce06dab9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-706" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-03T22:43:16Z",
"nvd_published_at" : "2023-03-03T19:15:00Z"
}
}