{"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-37916 exists.","fix":"Upgrade github.com/KubeOperator/kubepi to 1.6.5 or later.","what":"CVE-2023-37916 is a medium-severity 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-37916 and fix it if it is affected.\n\nWhat it is: CVE-2023-37916 is a medium-severity 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-37916 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-37916/ (Markdown: https://insights.sbomify.com/CVE-2023-37916/index.md)","id":"CVE-2023-37916","markdown":"https://insights.sbomify.com/CVE-2023-37916/index.md","name":"CVE-2023-37916","record":{"aliases":["GHSA-87f6-8gr7-pc6h","GO-2023-1957"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes management panel","requires_auth":"low_privilege","summary":"An unauthenticated attacker can retrieve password hashes for any user, including admins, via a search API endpoint in KubePi.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kubepi","vendor":"fit2cloud"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"KubePi is an opensource kubernetes management panel. The endpoint /kubepi/api/v1/users/search?pageNum=1\u0026\u0026pageSize=10 leak password hash of any user (including admin). A sufficiently motivated attacker may be able to crack leaded password hashes. 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":"Leak password hash of any user","id":"CVE-2023-37916","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Privilege Escalation in kubepi","id":"CVE-2023-37917"},"packages":[{"ecosystem":"Go","fixed":["1.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":null,"source":"GHSA-87f6-8gr7-pc6h"},{"ecosystem":"Go","fixed":["1.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","source":"GHSA-87f6-8gr7-pc6h"},{"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-1957"}],"prev":{"headline":"Malformed PID_PROPERTY_LIST parameter in DATA submessage remotely crashes OpenDDS","id":"CVE-2023-37915"},"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":9.1,"headline":"Privilege Escalation in kubepi","id":"CVE-2023-37917","kev_date_added":null,"published":"2023-07-21"},{"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"}],"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":"An unauthenticated attacker can retrieve password hashes for any user, including admins, via a search API endpoint in KubePi.","url":"https://insights.sbomify.com/CVE-2023-37916/"}