CVE-2023-24828 Use of Cryptographically Weak Pseudo-Random Number Generator in Onedev

High 8.1 Published Updated

Weak PRNG in Onedev allows normal users to predict tokens and escalate privileges to administrator.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-24828?

CVE-2023-24828 is a high-severity vulnerability in theonedev onedev, published on 7 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2023-24828?

It affects 1 product.

Products include Onedev Project Onedev.

How do I fix CVE-2023-24828?

No fix has been published for CVE-2023-24828 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-24828 being exploited?

There is no known exploitation of CVE-2023-24828 in the wild and no public exploit code.

Sources

Also known as GHSA-jf5c-9r77-3j5j.

Is CVE-2023-24828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free