CVE-2022-39208 Git Repository Disclosure in Onedev
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| onedev project onedev | < 7.3.0 | 7.3.0 | Fixed |
| theonedev onedev | = < 7.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| theonedev onedev | = < 7.3.0 | No fix listed |
| onedev project onedev | < 7.3.0 | 7.3.0 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory
- blog.sonarsource.com exploit third-party-advisory