CVE-2022-36881 Jenkins Git client plugin 3.11.0 does not perform SSH host key verification

High 8.1 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:git-client MavenAll versions3.11.1
org.jenkins-ci.plugins:git-client MavenAll versions3.11.1
Linux distribution packages (1)
jenkins-2-plugins Red Hat:openshift:4.10::el8All versions0: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.

Sources

Also known as GHSA-cm7j-p8hc-97vj, RHSA-2022:7865.

Is CVE-2022-36881 in your software?

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

Check your SBOMs for free