CVE-2020-2026: Github.com/kata containers/runtime Link Following Vulnerability
HIGHCVE-2020-2026 is a HIGH (CVSS 8.8) link following vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Github.com/kata containers/runtime libraries in the Go ecosystem. The issue involves link following in kata runtime. Remediation is available by upgrading affected packages to version 1.9.1, 1.10.6, 1.11.1.
CVE-2020-2026 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2020-2026
To remediate this vulnerability, upgrade all affected Github.com/kata containers/runtime 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/kata-containers/runtime to 1.9.1
Upgrade github.com/kata-containers/runtime to 1.10.6
Upgrade github.com/kata-containers/runtime to 1.11.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kata-containers/runtime
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-2026, inspect your project dependencies for Github.com/kata containers/runtime:
inspect dependencies for github.com/kata-containers/runtime
Analyze the terminal output to locate any version of Github.com/kata containers/runtime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.1), 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Github.com/kata containers/runtime, 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-2020-2026 Affected Github.com/kata containers/runtime Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kata-containers/runtime
|
Go |
< 1.9.1
|
1.9.1
|
|
github.com/kata-containers/runtime
|
Go |
≥ 1.10.0
< 1.10.6
|
1.10.6
|
|
github.com/kata-containers/runtime
|
Go |
≥ 1.11.0
< 1.11.1
All 1 versions
1.11.0
|
1.11.1
|
References
Frequently Asked Questions
What is CVE-2020-2026?
Which Github.com/kata containers/runtime versions are affected?
What version fixes CVE-2020-2026?
Is github.com/kata-containers/runtime affected?
What is the CVSS score of CVE-2020-2026?
What CWE is associated with CVE-2020-2026?
How can I check Go dependencies for CVE-2020-2026?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-877x-32pm-p28x",
"modified" : "2021-05-13T19:28:33Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2020-2026" ],
"summary" : "Link Following in Kata Runtime",
"details" : "A malicious guest compromised before a container creation (e.g. a malicious guest image or a guest running multiple containers) can trick the kata runtime into mounting the untrusted container filesystem on any host path, potentially allowing for code execution on the host. This issue affects Kata Containers 1.11 versions earlier than 1.11.1; Kata Containers 1.10 versions earlier than 1.10.5; Kata Containers 1.9 and earlier versions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kata-containers/runtime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.9"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kata-containers/runtime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "1.10.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.10.5"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kata-containers/runtime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.11.0"
}, {
"fixed" : "1.11.1"
} ]
} ],
"versions" : [ "1.11.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-2026"
}, {
"type" : "WEB",
"url" : "https://github.com/kata-containers/runtime/issues/2712"
}, {
"type" : "WEB",
"url" : "https://github.com/kata-containers/runtime/pull/2713"
}, {
"type" : "WEB",
"url" : "https://github.com/kata-containers/runtime/releases/tag/1.10.5"
}, {
"type" : "WEB",
"url" : "https://github.com/kata-containers/runtime/releases/tag/1.11.1"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7FHA4AF6Y6PAVJBTTQPUEHXZQUOF3P"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6JPBKAQBF3OR72N55GWM2TDYQP2OHK6H"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6W5MKF7HSAIL2AX2BX6RV4WWVGUIKVLS"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJAMOVB7DSOGX7J26QH5HZKU7GSSX2VU"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QNJHSSPCKUGJDVXXIXK2JUWCRJDQX7CE"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWACJQSMY5BVDMVTF3FBN7HZSOSFOG3Q"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-13T19:28:33Z",
"nvd_published_at" : "2020-06-10T18:15:00Z"
}
}