CVE-2021-21641 CSRF vulnerability in Jenkins promoted builds Plugin
Attackers can trick users into promoting builds via CSRF, compromising build integrity in Jenkins environments.
- 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-21641?
CVE-2021-21641 is a medium-severity vulnerability in Jenkins promoted builds Plugin, published on 7 Apr 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 promoted builds Plugin 3.9 and earlier allows attackers to to promote builds.
Weakness: CWE-352
Which versions are affected by CVE-2021-21641?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:promoted-builds. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:promoted-builds Maven | All versions | 3.9.1 |
org.jenkins-ci.plugins:promoted-builds Maven | All versions | 3.9.1 |
Products include Jenkins Promoted Builds.
How do I fix CVE-2021-21641?
Upgrade org.jenkins-ci.plugins:promoted-builds to 3.9.1 or later.
Is CVE-2021-21641 being exploited?
There is no known exploitation of CVE-2021-21641 in the wild and no public exploit code.
Other vulnerabilities in Jenkins promoted builds Plugin
- CVE-2022-30965 Stored Cross-site Scripting vulnerabilities in Jenkins promoted Builds (Simple) plugin providing additional parameter types
- CVE-2022-29045 Stored Cross-site Scripting vulnerability in Jenkins Promoted Builds Plugin
- CVE-2022-29049 Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL
- CVE-2018-1000114 Jenkins Promoted Builds Plugin allowed unauthorized users to run some promotion processes
Sources
Also known as GHSA-5cxw-8v65-76vf.