What’s Vulnerable › Vulnerabilities
CVE-2023-24828: Use of Cryptographically Weak Pseudo-Random Number Generator in Onedev
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-08 · updated 2026-06-17
- Weakness: CWE-338
Description
Onedev is a self-hosted Git Server with CI/CD and Kanban. In versions prior to 7.9.12 the algorithm used to generate access token and password reset keys was not cryptographically secure. Existing normal users (or everyone if it allows self-registration) may exploit this to elevate privilege to obtain administrator permission. This issue is has been addressed in version 7.9.12. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- theonedev onedev: before 7.9.12 — fixed in 7.9.12
How to fix
Upgrade to a fixed version: theonedev onedev 7.9.12. Check the vendor advisory for mitigations.
References
- https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5
- https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j
- https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5
- https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j
Get alerted when CVE-2023-24828 or the next vulnerability affects your stack