Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-39205

9.0 · CRITICAL
Published Sep 13, 2022 onedev_project CWE-287 EPSS 1.86% (78th pctl)

Overview

CVE-2022-39205 is a critical-severity vulnerability affecting onedev_project onedev. It was published on September 13, 2022 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. In versions of Onedev prior to 7.3.0 unauthenticated users can take over a OneDev instance if there is no properly configured reverse proxy. The /git-prereceive-callback endpoint is used by the pre-receive git hook on the server to check for branch protections during a push event. It is only intended to be accessed from localhost, but the check relies on the X-Forwarded-For header. Invoking this endpoint leads to the execution of one of various git commands. The environment variables of this command execution can be controlled via query parameters. This allows attackers to write to arbitrary files, which can in turn lead to the execution of arbitrary code. Such an attack would be very hard to detect, which increases the potential impact even more. Users are advised to upgrade. There are no known workarounds for this issue.

Remediation

Check the references section for vendor advisories and patches from onedev_project. Update onedev to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
onedev_project onedev >= 0, < 7.3.0 Affected

Frequently Asked Questions

What is CVE-2022-39205?

CVE-2022-39205 is a critical-severity vulnerability affecting onedev_project onedev. It was published on September 13, 2022 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

How severe is CVE-2022-39205?

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-39205?

Check the references section for vendor advisories and patches from onedev_project. Update onedev to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-39205?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-39205 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.