CVE-2023-22478: Github.com/KubeOperator/kubepi KubePi May Allow Unauthorized Access Vulnerability
HIGHCVE-2023-22478 is a HIGH (CVSS 7.5) kubepi may allow unauthorized access vulnerability (CWE-862: Missing Authorization) affecting Github.com/KubeOperator/kubepi libraries in the Go ecosystem. The issue involves kubepi may allow unauthorized access to system api. Remediation is available by upgrading affected packages to version 1.6.4.
CVE-2023-22478 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-22478
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.4
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-22478, 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.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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. 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-22478 Affected Github.com/KubeOperator/kubepi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/KubeOperator/kubepi
|
Go |
< 1.6.4
|
1.6.4
|
References
Frequently Asked Questions
What is CVE-2023-22478?
Which Github.com/KubeOperator/kubepi versions are affected?
What version fixes CVE-2023-22478?
Is github.com/KubeOperator/kubepi affected?
What is the CVSS score of CVE-2023-22478?
What CWE is associated with CVE-2023-22478?
How can I check Go dependencies for CVE-2023-22478?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gqx8-hxmv-c4v4",
"modified" : "2023-01-24T23:29:03Z",
"published" : "2023-01-09T21:56:09Z",
"aliases" : [ "CVE-2023-22478" ],
"summary" : "KubePi may allow unauthorized access to system API",
"details" : "### Summary\nUnauthorized access refers to the ability to bypass the system's preset permission settings to access some API interfaces. The attack exploits a flaw in how online applications handle routing permissions.\n\n### Affected Version\n<= v1.6.3\n\n### Patches\nThe vulnerability has been fixed in v1.6.4.\n\nhttps://github.com/KubeOperator/KubePi/commit/0c6774bf5d9003ae4d60257a3f207c131ff4a6d6\n\n### Workarounds\nIt is recommended to upgrade the version to v1.6.4.\n\n### For more information\nIf you have any questions or comments about this advisory, please open an issue.\n\n### References\nhttps://github.com/KubeOperator/KubePi/releases/tag/v1.6.4",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/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.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.6.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/KubePi/security/advisories/GHSA-gqx8-hxmv-c4v4"
}, {
"type" : "WEB",
"url" : "https://github.com/KubeOperator/KubePi/security/advisories/GHSA-gqx8-hxmv-c4v4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22478"
}, {
"type" : "WEB",
"url" : "https://github.com/KubeOperator/KubePi/commit/0c6774bf5d9003ae4d60257a3f207c131ff4a6d6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/KubeOperator/KubePi"
}, {
"type" : "WEB",
"url" : "https://github.com/KubeOperator/KubePi/releases/tag/v1.6.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T21:56:09Z",
"nvd_published_at" : "2023-01-14T01:15:00Z"
}
}