{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cubefs/cubefs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-46739 in the wild and no public exploit code.","fix":"Upgrade github.com/cubefs/cubefs to 3.3.1 or later.","what":"CVE-2023-46739 is a medium-severity vulnerability in cubefs, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-46739 and fix it if it is affected.\n\nWhat it is: CVE-2023-46739 is a medium-severity vulnerability in cubefs, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-46739 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cubefs/cubefs (Go): affected all versions; no fix listed\n- github.com/cubefs/cubefs (Go): affected all versions; fixed in 3.3.1\n- github.com/cubefs/cubefs (Go): affected all versions; fixed in 3.3.1\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-46739/ (Markdown: https://insights.sbomify.com/CVE-2023-46739/index.md)","id":"CVE-2023-46739","markdown":"https://insights.sbomify.com/CVE-2023-46739/index.md","name":"CVE-2023-46739","record":{"aliases":["GHSA-8579-7p32-f398","GO-2024-2432"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Cloud-native file storage","requires_auth":"none","summary":"An attacker can steal user passwords from CubeFS master component via timing attacks due to insecure string comparison.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cubefs","vendor":"linuxfoundation"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"CubeFS is an open-source cloud-native file storage system. A vulnerability was found during in the CubeFS master component in versions prior to 3.3.1 that could allow an untrusted attacker to steal user passwords by carrying out a timing attack. The root case of the vulnerability was that CubeFS used raw string comparison of passwords. The vulnerable part of CubeFS was the UserService of the master component. The UserService gets instantiated when starting the server of the master component. The issue has been patched in v3.3.1. For impacted users, there is no other way to mitigate the issue besides upgrading.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Timing attack can leak user passwords","id":"CVE-2023-46739","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Insecure random string generator used for sensitive data","id":"CVE-2023-46740"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cubefs/cubefs","purl":"pkg:golang/github.com/cubefs/cubefs","source":"GO-2024-2432"},{"ecosystem":"Go","fixed":["3.3.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cubefs/cubefs","purl":null,"source":"GHSA-8579-7p32-f398"},{"ecosystem":"Go","fixed":["3.3.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cubefs/cubefs","purl":"pkg:golang/github.com/cubefs/cubefs","source":"GHSA-8579-7p32-f398"}],"prev":{"headline":"Authenticated users can crash the CubeFS servers with maliciously crafted requests","id":"CVE-2023-46738"},"products":["cubefs"],"published":"2024-01-03","related":[{"cvss_score":6.5,"headline":"Authenticated users can crash the CubeFS servers with maliciously crafted requests","id":"CVE-2023-46738","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":6.5,"headline":"Insecure random string generator used for sensitive data","id":"CVE-2023-46740","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":6.5,"headline":"CubeFS allows Kubernetes cluster-level privilege escalation","id":"CVE-2023-30512","kev_date_added":null,"published":"2023-04-12"},{"cvss_score":4.8,"headline":"CubeFS leaks magic secret key when starting Blobstore access service","id":"CVE-2023-46741","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":4.8,"headline":"CubeFS leaks users key in logs","id":"CVE-2023-46742","kev_date_added":null,"published":"2024-01-03"}],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["cubefs"]},"summary":"An attacker can steal user passwords from CubeFS master component via timing attacks due to insecure string comparison.","url":"https://insights.sbomify.com/CVE-2023-46739/"}