CVE-2018-1002103: K8s.io/minikube Remote Code Execution Vulnerability
HIGHCVE-2018-1002103 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting K8s.io/minikube libraries in the Go ecosystem. The issue involves minikube rce via dns rebinding. Remediation is available in the latest vendor maintenance releases.
CVE-2018-1002103 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.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-1002103
To remediate this vulnerability, upgrade all affected K8s.io/minikube 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 k8s.io/minikube to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for k8s.io/minikube
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-1002103, inspect your project dependencies for K8s.io/minikube:
inspect dependencies for k8s.io/minikube
Analyze the terminal output to locate any version of K8s.io/minikube in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In K8s.io/minikube, 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-1002103 Affected K8s.io/minikube Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/minikube
|
Go |
≥ 0.3.0
≤ 0.29.0
|
|
References
Frequently Asked Questions
What is CVE-2018-1002103?
Which K8s.io/minikube versions are affected?
What version fixes CVE-2018-1002103?
Is k8s.io/minikube affected?
What is the CVSS score of CVE-2018-1002103?
What CWE is associated with CVE-2018-1002103?
How can I check Go dependencies for CVE-2018-1002103?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6pcv-qqx4-mxm3",
"modified" : "2023-07-21T21:47:33Z",
"published" : "2022-05-13T01:35:04Z",
"aliases" : [ "CVE-2018-1002103" ],
"summary" : "Minikube RCE via DNS Rebinding",
"details" : "In Minikube versions 0.3.0-0.29.0, minikube exposes the Kubernetes Dashboard listening on the VM IP at port 30000. In VM environments where the IP is easy to predict, the attacker can use DNS rebinding to indirectly make requests to the Kubernetes Dashboard, create a new Kubernetes Deployment running arbitrary code. If minikube mount is in use, the attacker could also directly access the host filesystem.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/minikube"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.0"
}, {
"last_affected" : "0.29.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1002103"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/minikube/issues/3208"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-21T21:47:33Z",
"nvd_published_at" : "2018-12-05T21:29:00Z"
}
}