{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-56516 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-56516 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-56516 is a medium-severity vulnerability in RockChinQ free-one-api, published on 30 Dec 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-2024-56516 and fix it if it is affected.\n\nWhat it is: CVE-2024-56516 is a medium-severity vulnerability in RockChinQ free-one-api, published on 30 Dec 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-2024-56516 in the wild and no public exploit code.\n\nAffected product: RockChinQ free-one-api. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-56516/ (Markdown: https://insights.sbomify.com/CVE-2024-56516/index.md)","id":"CVE-2024-56516","markdown":"https://insights.sbomify.com/CVE-2024-56516/index.md","name":"CVE-2024-56516","record":{"aliases":["GHSA-36cc-58vm-wm4h"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM API proxy","requires_auth":"none","summary":"Attackers can crack user passwords due to weak MD5 hashing, potentially leading to credential theft and unauthorized access to the LLM API service.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-328","name":"Use of Weak Hash"}],"description":"free-one-api allows users to access large language model reverse engineering libraries through the standard OpenAI API format. In versions up to and including 1.0.1, MD5 is used to hash passwords before sending them to the backend. MD5 is a cryptographically broken hashing algorithm and is no longer considered secure for password storage or transmission. It is vulnerable to collision attacks and can be easily cracked using modern hardware, exposing user credentials to potential compromise. As of time of publication, a replacement for MD5 has not been committed to the free-one-api GitHub repository.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"free-one-api uses md5 for password storage","id":"CVE-2024-56516","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"LGSL has a reflected XSS at /lgsl_files/lgsl_list.php","id":"CVE-2024-56517"},"packages":[],"prev":{"headline":"Untrusted file formats can be thumbnailed, invoking potentially further untrusted decoders in Matrix Media Repo","id":"CVE-2024-56515"},"products":["free-one-api"],"published":"2024-12-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-30","vendors":["RockChinQ"]},"summary":"Attackers can crack user passwords due to weak MD5 hashing, potentially leading to credential theft and unauthorized access to the LLM API service.","url":"https://insights.sbomify.com/CVE-2024-56516/"}