{"answers":{"affected":"3 open source packages ship an affected version, including github.com/KubeOperator/kubepi. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37917 exists.","fix":"Upgrade github.com/KubeOperator/kubepi to 1.6.5 or later.","what":"CVE-2023-37917 is a critical vulnerability in 1Panel-dev KubePi, published on 21 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37917 and fix it if it is affected.\n\nWhat it is: CVE-2023-37917 is a critical vulnerability in 1Panel-dev KubePi, published on 21 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37917 exists.\n\nAffected packages and fixed versions:\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.5\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.5\n- github.com/KubeOperator/kubepi (Go): affected all versions; fixed in 1.6.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37917/ (Markdown: https://insights.sbomify.com/CVE-2023-37917/index.md)","id":"CVE-2023-37917","markdown":"https://insights.sbomify.com/CVE-2023-37917/index.md","name":"CVE-2023-37917","record":{"aliases":["GHSA-757p-vx43-fp9r","GO-2023-1956"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes management panel","requires_auth":"low_privilege","summary":"A normal user can escalate to admin by modifying the isadmin parameter, allowing full control of the KubePi panel.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kubepi","vendor":"fit2cloud"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"KubePi is an opensource kubernetes management panel. A normal user has permission to create/update users, they can become admin by editing the `isadmin` value in the request. As a result any user may take administrative control of KubePi. This issue has been addressed in version 1.6.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Privilege Escalation in kubepi","id":"CVE-2023-37917","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"API token authentication bypass in HTTP endpoints in Dapr","id":"CVE-2023-37918"},"packages":[{"ecosystem":"Go","fixed":["1.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":null,"source":"GHSA-757p-vx43-fp9r"},{"ecosystem":"Go","fixed":["1.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","source":"GHSA-757p-vx43-fp9r"},{"ecosystem":"Go","fixed":["1.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","source":"GO-2023-1956"}],"prev":{"headline":"Leak password hash of any user","id":"CVE-2023-37916"},"products":["KubePi"],"published":"2023-07-21","related":[{"cvss_score":9.8,"headline":"KubePi's Hardcoded Jwtsigkeys allows malicious actor to login with a forged JWT token","id":"CVE-2023-22463","kev_date_added":null,"published":"2023-01-04"},{"cvss_score":7.5,"headline":"KubePi vulnerable to session fixation attack","id":"CVE-2023-22479","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":7.3,"headline":"KubePi is vulnerable to missing authorization","id":"CVE-2023-22478","kev_date_added":null,"published":"2023-01-14"},{"cvss_score":6.5,"headline":"Leak password hash of any user","id":"CVE-2023-37916","kev_date_added":null,"published":"2023-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-10","vendors":["1Panel-dev"]},"summary":"A normal user can escalate to admin by modifying the isadmin parameter, allowing full control of the KubePi panel.","url":"https://insights.sbomify.com/CVE-2023-37917/"}