CVE-2023-22479: Github.com/KubeOperator/kubepi KubePi Session Fixation Attack Allows Vulnerability
HIGHCVE-2023-22479 is a HIGH (CVSS 7.5) kubepi session fixation attack allows vulnerability (CWE-384: Session Fixation) affecting Github.com/KubeOperator/kubepi libraries in the Go ecosystem. The issue involves kubepi session fixation attack allows an attacker to hijack a legitimate user session.. Remediation is available by upgrading affected packages to version 1.6.4.
CVE-2023-22479 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:H/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-22479
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-22479, 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-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. 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-22479 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-22479?
Which Github.com/KubeOperator/kubepi versions are affected?
What version fixes CVE-2023-22479?
Is github.com/KubeOperator/kubepi affected?
What is the CVSS score of CVE-2023-22479?
What CWE is associated with CVE-2023-22479?
How can I check Go dependencies for CVE-2023-22479?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v4w5-r2xc-7f8h",
"modified" : "2023-07-21T18:02:01Z",
"published" : "2023-01-09T21:57:10Z",
"aliases" : [ "CVE-2023-22479" ],
"summary" : "KubePi session fixation attack allows an attacker to hijack a legitimate user session.",
"details" : "### Summary\nA session fixation attack allows an attacker to hijack a legitimate user session. The attack investigates a flaw in how the online application handles the session ID, especially the susceptible web application.\n\n### Affected Version\n<= v1.6.3\n\n### Patches\nThe vulnerability has been fixed in [v1.6.4](https://github.com/KubeOperator/KubePi/releases/tag/v1.6.4).\n\nhttps://github.com/KubeOperator/KubePi/commit/1e9c550356c1a425a742480efcf743d373e98dcb : A session fixation attack allows an attacker to hijack a legitimate user session.\n\n### Workarounds\nIt is recommended to upgrade the version to [v1.6.4](https://github.com/KubeOperator/KubePi/releases/tag/v1.6.4).\n\n### For more information\nIf you have any questions or comments about this advisory, please [open an issue](https://github.com/KubeOperator/KubePi/issues).\n\nThis vulnerability is reported by [sachinh09](https://huntr.dev/users/sachinh09/) from [huntr.dev](https://huntr.dev/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"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-v4w5-r2xc-7f8h"
}, {
"type" : "WEB",
"url" : "https://github.com/KubeOperator/KubePi/security/advisories/GHSA-v4w5-r2xc-7f8h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22479"
}, {
"type" : "WEB",
"url" : "https://github.com/KubeOperator/KubePi/commit/1e9c550356c1a425a742480efcf743d373e98dcb"
}, {
"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-384" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T21:57:10Z",
"nvd_published_at" : "2023-01-10T21:15:00Z"
}
}