CVE-2020-2167 RCE vulnerability in Jenkins OpenShift Pipeline Plugin

High 8.8 Published Updated

Attackers can achieve remote code execution via unsafe YAML deserialization in the Jenkins OpenShift Pipeline Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-2167?

CVE-2020-2167 is a high-severity unsafe deserialization vulnerability in Jenkins OpenShift Pipeline Plugin, published on 25 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins OpenShift Pipeline Plugin 1.0.56 and earlier does not configure its YAML parser to prevent the instantiation of arbitrary types, resulting in a remote code execution vulnerability.

Weakness: CWE-20

Which versions are affected by CVE-2020-2167?

2 open source packages ship an affected version, including com.openshift.jenkins:openshift-pipeline. It affects 1 product.

PackageAffectedFixed in
com.openshift.jenkins:openshift-pipeline MavenAll versions1.0.57
com.openshift.jenkins:openshift-pipeline MavenAll versions1.0.57
Linux distribution packages (2)
jenkins Red Hat:openshift:3.11::el7All versions0:2.204.2.1585048146-1.el7
jenkins-2-plugins Red Hat:openshift:3.11::el7All versions0:3.11.1585050035-1.el7

Products include Jenkins Openshift Pipeline.

How do I fix CVE-2020-2167?

Upgrade com.openshift.jenkins:openshift-pipeline to 1.0.57 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2020-2167 being exploited?

There is no known exploitation of CVE-2020-2167 in the wild and no public exploit code.

Sources

Also known as GHSA-264w-xrr7-6qqg, RHSA-2020:0964.

Is CVE-2020-2167 in your software?

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

Check your SBOMs for free