CVE-2018-1002105: Github.com/kubernetes/kubernetes Privilege Escalation Vulnerability
CRITICALCVE-2018-1002105 is a CRITICAL (CVSS 9.8) privilege escalation vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/kubernetes/kubernetes libraries in the Go ecosystem. The issue involves privilege escalation in kubernetes. Remediation is available by upgrading affected packages to version 1.10.11, 1.11.5, 1.12.3.
CVE-2018-1002105 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-1002105
To remediate this vulnerability, upgrade all affected Github.com/kubernetes/kubernetes 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/kubernetes/kubernetes to 1.10.11
Upgrade github.com/kubernetes/kubernetes to 1.11.5
Upgrade github.com/kubernetes/kubernetes to 1.12.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kubernetes/kubernetes
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-1002105, inspect your project dependencies for Github.com/kubernetes/kubernetes:
inspect dependencies for github.com/kubernetes/kubernetes
Analyze the terminal output to locate any version of Github.com/kubernetes/kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.10.11), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/kubernetes/kubernetes, 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-2018-1002105 Affected Github.com/kubernetes/kubernetes Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubernetes/kubernetes
|
Go |
< 1.10.11
|
1.10.11
|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.11.0
< 1.11.5
|
1.11.5
|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.12.0
< 1.12.3
|
1.12.3
|
References
Frequently Asked Questions
What is CVE-2018-1002105?
Which Github.com/kubernetes/kubernetes versions are affected?
What version fixes CVE-2018-1002105?
Is github.com/kubernetes/kubernetes affected?
What is the CVSS score of CVE-2018-1002105?
What CWE is associated with CVE-2018-1002105?
How can I check Go dependencies for CVE-2018-1002105?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-579h-mv94-g4gp",
"modified" : "2021-05-20T20:40:04Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2018-1002105" ],
"summary" : "Privilege Escalation in Kubernetes",
"details" : "In all Kubernetes versions prior to v1.10.11, v1.11.5, and v1.12.3, incorrect handling of error responses to proxied upgrade requests in the kube-apiserver allowed specially crafted requests to establish a connection through the Kubernetes API server to backend servers, then send arbitrary requests over the same connection directly to the backend, authenticated with the Kubernetes API server's TLS credentials used to establish the backend connection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.10.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.11.0"
}, {
"fixed" : "1.11.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0"
}, {
"fixed" : "1.12.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1002105"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/71411"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/2257c1ecbe3c0cf71dd50b82752ae189c94ec905"
}, {
"type" : "WEB",
"url" : "https://www.securityfocus.com/bid/106068"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2019/07/06/4"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2019/07/06/3"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2019/06/28/2"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/46053"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/46052"
}, {
"type" : "WEB",
"url" : "https://www.coalfire.com/The-Coalfire-Blog/December-2018/Kubernetes-Vulnerability-What-You-Can-Should-Do"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190416-0001"
}, {
"type" : "WEB",
"url" : "https://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/kubernetes-announce/GVllWCg6L88"
}, {
"type" : "WEB",
"url" : "https://github.com/evict/poc_CVE-2018-1002105"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3754"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3752"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3742"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3624"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3598"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3551"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3549"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3537"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T20:40:04Z",
"nvd_published_at" : null
}
}