CVE-2022-39206
CRITICALEPSS 75th pctlDescription
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors, the Docker socket (e.g. /var/run/docker.sock on Linux) is mounted into each Docker step. Users that can define and trigger CI/CD jobs on a project could use this to control the Docker daemon on the host machine. This is a known dangerous pattern, as it can be used to break out of Docker containers and, in most cases, gain root privileges on the host system. This issue allows regular (non-admin) users to potentially take over the build infrastructure of a OneDev instance. Attackers need to have an account (or be able to register one) and need permission to create a project. Since code.onedev.io has the right preconditions for this to be exploited by remote attackers, it could have been used to hijack builds of OneDev itself, e.g. by injecting malware into the docker images that are built and pushed to Docker Hub. The impact is increased by this as described before. Users are advised to upgrade to 7.3.0 or higher. There are no known workarounds for this issue.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 75% of all known CVEs.
References
Related Vulnerabilities
Other CWE-610 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-27593 | Critical | 10.0 | 88% | KEV + Ransom | Fix |
| CVE-2017-18357 | Medium | 6.5 | 27% | - | Fix |
| CVE-2022-2633 | High | 7.5 | 26% | - | - |
| CVE-2017-0211 | Medium | 5.5 | 14% | - | - |
| CVE-2024-45826 | Medium | 6.8 | 12% | - | Fix |
| CVE-2020-5412 | Medium | 6.5 | 10% | - | Fix |
Common questions
How do I fix CVE-2022-39206?
Upgrade onedev to 7.3.0 or later.
Is CVE-2022-39206 being actively exploited?
Not that we know of. CVE-2022-39206 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.7% is the estimated probability that it will be exploited in the next 30 days. That is higher than 75% of all scored CVEs.
How severe is CVE-2022-39206?
CVE-2022-39206 has a CVSS v3 base score of 9.9, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2022-39206 affect?
Published advisories record a fix for onedev (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2022-39206
Markdown
[](https://tridentstack.com/cve/CVE-2022-39206)HTML
<a href="https://tridentstack.com/cve/CVE-2022-39206"><img src="https://tridentstack.com/cve/badge/CVE-2022-39206.svg" alt="CVE-2022-39206"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.