Vulnerabilities in pkg:golang/github.com/KubeOperator/kubepi
PACKAGECVE-2023-37916 is a MODERATE (CVSS 6.5) kubepi may leak password hash vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/KubeOperator/kubepi libraries in the Go ecosystem. The issue involves kubepi may leak password hash of any user. Remediation is available by upgrading affected packages to version 1.6.5.
pkg:golang/github.com/KubeOperator/kubepi
Vulnerability advisories affecting package pkg:golang/github.com/KubeOperator/kubepi. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-87f6-8gr7-pc6h | CVE-2023-37916 | MODERATE | KubePi may leak password hash of any user |
| GHSA-757p-vx43-fp9r | CVE-2023-37917 | CRITICAL | KubePi Privilege Escalation vulnerability |
| GHSA-v4w5-r2xc-7f8h | CVE-2023-22479 | HIGH | KubePi session fixation attack allows an attacker to hijack a legitimate user session. |
| GHSA-gqx8-hxmv-c4v4 | CVE-2023-22478 | HIGH | KubePi may allow unauthorized access to system API |
| GHSA-vjhf-8vqx-vqpq | CVE-2023-22463 | CRITICAL | KubePi allows malicious actor to login with a forged JWT token via Hardcoded Jwtsigkeys |
CVE-2023-37916 at a Glance
Security Impact
CVSS: 6.5
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:U/C:H/I:N/A:N).
How to Fix CVE-2023-37916
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-37916, 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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-37916 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-37916?
Which Github.com/KubeOperator/kubepi versions are affected?
What version fixes CVE-2023-37916?
Is github.com/KubeOperator/kubepi affected?
What is the CVSS score of CVE-2023-37916?
What CWE is associated with CVE-2023-37916?
How can I check Go dependencies for CVE-2023-37916?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-87f6-8gr7-pc6h",
"modified" : "2023-07-21T20:18:09Z",
"published" : "2023-07-21T20:18:09Z",
"aliases" : [ "CVE-2023-37916" ],
"summary" : "KubePi may leak password hash of any user",
"details" : "### Summary\nhttp://kube.pi/kubepi/api/v1/users/search?pageNum=1&&pageSize=10 leak password of any user (including admin). This leads to password crack attack\n\n\n### PoC\nhttps://drive.google.com/file/d/1ksdawJ1vShRJyT3wAgpqVmz-Ls6hMA7M/preview\n\n### Impact\n- Leaking confidential information.\n- Can lead to password cracking attacks\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"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-87f6-8gr7-pc6h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37916"
}, {
"type" : "WEB",
"url" : "https://drive.google.com/file/d/1ksdawJ1vShRJyT3wAgpqVmz-Ls6hMA7M/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-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-21T20:18:09Z",
"nvd_published_at" : "2023-07-21T21:15:11Z"
}
}