CVE-2022-39208 Git Repository Disclosure in Onedev

High 7.5 Published Updated

Unauthenticated attackers can read all project files and build artifacts from the Onedev Git server directory, leading to significant data leakage.

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

What is CVE-2022-39208?

CVE-2022-39208 is a high-severity vulnerability in theonedev onedev, published on 13 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. All files in the /opt/onedev/sites/ directory are exposed and can be read by unauthenticated users. This directory contains all projects, including their bare git repos and build artifacts. This file disclosure vulnerability can be used by unauthenticated attackers to leak all project files of any project. Since project IDs are incremental, an attacker could iterate through them and leak all project data. This issue has been resolved in version 7.3.0 and users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-552

Which versions are affected by CVE-2022-39208?

It affects 1 product.

Products include Onedev Project Onedev.

How do I fix CVE-2022-39208?

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

Is CVE-2022-39208 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39208 exists.

Sources

Also known as GHSA-h427-rv56-c9h2.

Is CVE-2022-39208 in your software?

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

Check your SBOMs for free