CVE-2023-1943: K8s.io/kops KOps Privilege Escalation Vulnerability Vulnerability
HIGHCVE-2023-1943 is a HIGH (CVSS 8.0) kops privilege escalation vulnerability vulnerability (CWE-250: Execution with Unnecessary Privileges) affecting K8s.io/kops libraries in the Go ecosystem. The issue involves kops privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 1.25.4, 1.26.2.
CVE-2023-1943 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-1943
To remediate this vulnerability, upgrade all affected K8s.io/kops 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/kops to 1.25.4
Upgrade k8s.io/kops to 1.26.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for k8s.io/kops
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-1943, inspect your project dependencies for K8s.io/kops:
inspect dependencies for k8s.io/kops
Analyze the terminal output to locate any version of K8s.io/kops in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.25.4), 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-250: Execution with Unnecessary Privileges, where the product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses. In K8s.io/kops, 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-1943 Affected K8s.io/kops Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/kops
|
Go |
< 1.25.4
|
1.25.4
|
|
k8s.io/kops
|
Go |
≥ 1.26.0
< 1.26.2
|
1.26.2
|
References
Frequently Asked Questions
What is CVE-2023-1943?
Which K8s.io/kops versions are affected?
What version fixes CVE-2023-1943?
Is k8s.io/kops affected?
What is the CVSS score of CVE-2023-1943?
What CWE is associated with CVE-2023-1943?
How can I check Go dependencies for CVE-2023-1943?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8gwj-m6vh-2g6j",
"modified" : "2023-10-18T18:29:01Z",
"published" : "2023-10-12T00:30:29Z",
"aliases" : [ "CVE-2023-1943" ],
"summary" : "kOps privilege escalation vulnerability",
"details" : "Privilege Escalation in kOps using GCE/GCP Provider in Gossip Mode.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kops"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.25.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kops"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.26.0"
}, {
"fixed" : "1.26.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1943"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kops/issues/15539"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kops"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/yrCE1x89oaU"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-250" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-18T18:29:01Z",
"nvd_published_at" : "2023-10-12T00:15:10Z"
}
}