CVE-2024-56516: free-one-api - Weak Cryptography
- Cve: CVE-2024-56516
- Name: free-one-api - Weak Cryptography
- 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.
- Impact: Attackers can crack hashed passwords, leading to credential compromise and potential account takeover.
- Remediation: Replace MD5 with a secure hashing algorithm like bcrypt or Argon2 and update the codebase accordingly.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.9
- Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00349
- Epss percentile: 0.29132
- Assignee: [email protected]
- Published at: 2024-12-30T17:15:09Z
- Age in days: 694
- Modified at: 2026-06-17T08:12:16Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56516
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-328 | Use of Weak Hash |
References
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| RockChinQ/free-one-api | security_advisory | yes | /v1/repositories/RockChinQ/free-one-api |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts