CVE-2023-37917: Github.com/KubeOperator/kubepi KubePi Privilege Escalation Vulnerability Vulnerability
CRITICALCVE-2023-37917 is a CRITICAL (CVSS 9.1) kubepi privilege escalation vulnerability vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/KubeOperator/kubepi libraries in the Go ecosystem. The issue involves kubepi privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 1.6.5.
CVE-2023-37917 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L).
How to Fix CVE-2023-37917
To remediate this vulnerability, upgrade all affected Github.com/KubeOperator/kubepi 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/KubeOperator/kubepi to 1.6.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/KubeOperator/kubepi
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-37917, inspect your project dependencies for Github.com/KubeOperator/kubepi:
inspect dependencies for github.com/KubeOperator/kubepi
Analyze the terminal output to locate any version of Github.com/KubeOperator/kubepi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.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-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/KubeOperator/kubepi, 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-37917 Affected Github.com/KubeOperator/kubepi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/KubeOperator/kubepi
|
Go |
< 1.6.5
|
1.6.5
|
References
Frequently Asked Questions
What is CVE-2023-37917?
Which Github.com/KubeOperator/kubepi versions are affected?
What version fixes CVE-2023-37917?
Is github.com/KubeOperator/kubepi affected?
What is the CVSS score of CVE-2023-37917?
What CWE is associated with CVE-2023-37917?
How can I check Go dependencies for CVE-2023-37917?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-757p-vx43-fp9r",
"modified" : "2023-07-21T20:18:00Z",
"published" : "2023-07-21T20:18:00Z",
"aliases" : [ "CVE-2023-37917" ],
"summary" : "KubePi Privilege Escalation vulnerability",
"details" : "### Summary\nA normal user has permission to create/update users, they can become admin by editing the `isadmin` value in the request\n\n\n### PoC\nChange the value of the `isadmin` field in the request to true:\nhttps://drive.google.com/file/d/1e8XJbIFIDXaFiL-dqn0a0b6u7o3CwqSG/preview\n\n### Impact\nElevate user privileges\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/KubeOperator/kubepi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/KubePi/security/advisories/GHSA-757p-vx43-fp9r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37917"
}, {
"type" : "WEB",
"url" : "https://drive.google.com/file/d/1e8XJbIFIDXaFiL-dqn0a0b6u7o3CwqSG/preview"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/1Panel-dev/KubePi"
}, {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/KubePi/releases/tag/v1.6.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-21T20:18:00Z",
"nvd_published_at" : "2023-07-21T21:15:11Z"
}
}