CVE-2021-21629 CSRF vulnerability in Jenkins Build With Parameters Plugin

High 8.8 Published Updated

Attackers can force builds with malicious parameters via CSRF in the Jenkins Build With Parameters Plugin.

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-2021-21629?

CVE-2021-21629 is a high-severity vulnerability in Jenkins Build With Parameters Plugin, published on 30 Mar 2021. 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 Build With Parameters Plugin 1.5 and earlier allows attackers to build a project with attacker-specified parameters.

Weakness: CWE-352

Which versions are affected by CVE-2021-21629?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:build-with-parameters MavenAll versions1.5.1
org.jenkins-ci.plugins:build-with-parameters MavenAll versions1.5.1

Products include Jenkins Build With Parameters.

How do I fix CVE-2021-21629?

Upgrade org.jenkins-ci.plugins:build-with-parameters to 1.5.1 or later.

Is CVE-2021-21629 being exploited?

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

Sources

Also known as GHSA-w24g-24qg-v4w2.

Is CVE-2021-21629 in your software?

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

Check your SBOMs for free