{"id":"CVE-2023-24828","state":"PUBLISHED","title":"Use of Cryptographically Weak Pseudo-Random Number Generator in Onedev","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.","publishedAt":"2023-02-07T23:25:11.397Z","updatedAt":"2025-03-10T21:15:15.671Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["theonedev onedev"],"affected":[{"vendor":"theonedev","product":"onedev","versions":[{"version":"< 7.9.12","status":"affected"}]}],"references":["https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j","https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5"],"weaknesses":["CWE-338"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/24xxx/CVE-2023-24828.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-24828","state":"PUBLISHED","datePublished":"2023-02-07T23:25:11.397Z","dateUpdated":"2025-03-10T21:15:15.671Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-30T14:43:33.706Z"},"containers":{"cna":{"title":"Use of Cryptographically Weak Pseudo-Random Number Generator in Onedev","descriptions":[{"lang":"en","value":"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":[{"vendor":"theonedev","product":"onedev","versions":[{"version":"< 7.9.12","status":"affected"}]}],"references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j","name":"https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5","name":"https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","lang":"en","description":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-07T23:25:11.397Z"},"source":{"advisory":"GHSA-jf5c-9r77-3j5j","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j","name":"https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5","name":"https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:03:19.283Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:58:12.620286Z","id":"CVE-2023-24828","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:15:15.671Z"}}]}}}