CVE-2022-36881 Jenkins Git client plugin 3.11.0 does not perform SSH host key verification
Attackers can perform man-in-the-middle attacks on Git SSH connections due to missing host key verification in the Jenkins Git client Plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-36881?
CVE-2022-36881 is a high-severity vulnerability in Jenkins Git client Plugin, published on 27 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Jenkins Git client Plugin 3.11.0 and earlier does not perform SSH host key verification when connecting to Git repositories via SSH, enabling man-in-the-middle attacks.
Weakness: CWE-295
Which versions are affected by CVE-2022-36881?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:git-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:git-client Maven | All versions | 3.11.1 |
org.jenkins-ci.plugins:git-client Maven | All versions | 3.11.1 |
Linux distribution packages (1)
jenkins-2-plugins Red Hat:openshift:4.10::el8 | All versions | 0:4.10.1667388055-1.el8 |
Products include Jenkins Git Client.
How do I fix CVE-2022-36881?
Upgrade org.jenkins-ci.plugins:git-client to 3.11.1 or later.
Is CVE-2022-36881 being exploited?
There is no known exploitation of CVE-2022-36881 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Git client Plugin
- CVE-2019-10392 Improper Neutralization of Special Elements used in an OS Command in Jenkins Git Client Plugin
- CVE-2026-57282 Jenkins Git client Plugin has an OS command injection vulnerability on agents
- CVE-2025-67640 Jenkins Git client Plugin has an OS command injection vulnerability on agents in Git client Plugin
- CVE-2025-58458 Jenkins Git client Plugin file system information disclosure vulnerability
- CVE-2017-1000242 Insecure temporary file usage in Jenkins Git Client Plugin
Sources
Also known as GHSA-cm7j-p8hc-97vj, RHSA-2022:7865.