CVE-2022-36887 Jenkins Job Configuration History Plugin does not require POST requests for several HTTP endpoints

Medium 4.3 Published Updated

Attackers can delete or restore configuration history entries in Jenkins via CSRF, requiring plugin updates to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-36887?

CVE-2022-36887 is a medium-severity vulnerability in Jenkins Job Configuration History Plugin, published on 27 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A cross-site request forgery (CSRF) vulnerability in Jenkins Job Configuration History Plugin 1155.v28a_46a_cc06a_5 and earlier allows attackers to delete entries from job, agent, and system configuration history, or restore older versions of job, agent, and system configurations.

Weakness: CWE-352

Which versions are affected by CVE-2022-36887?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:jobConfigHistory. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:jobConfigHistory MavenAll versions1156.v536a_97b_8d649
org.jenkins-ci.plugins:jobConfigHistory MavenAll versions1156.v536a_97b_8d649

Products include Jenkins Job Configuration History.

How do I fix CVE-2022-36887?

Upgrade org.jenkins-ci.plugins:jobConfigHistory to 1156.v536a_97b_8d649 or later.

Is CVE-2022-36887 being exploited?

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

Sources

Also known as GHSA-j896-j72w-cr32.

Is CVE-2022-36887 in your software?

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

Check your SBOMs for free