CVE-2021-21647 Missing permission check in Jenkins CloudBees CD Plugin allows scheduling builds
Attackers with read permissions can schedule builds without build permissions due to missing authorization checks in the Jenkins CloudBees CD 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-2021-21647?
CVE-2021-21647 is a medium-severity missing authorization vulnerability in Jenkins CloudBees CD Plugin, published on 21 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins CloudBees CD Plugin 1.1.21 and earlier does not perform a permission check in an HTTP endpoint, allowing attackers with Item/Read permission to schedule builds of projects without having Item/Build permission.
Which versions are affected by CVE-2021-21647?
4 open source packages ship an affected version, including org.jenkins-ci.plugins:electricflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:electricflow Maven | All versions | 1.1.18.1 |
org.jenkins-ci.plugins:electricflow Maven | All versions | 1.1.18.1 |
org.jenkins-ci.plugins:electricflow Maven | From 1.1.19 | 1.1.22 |
org.jenkins-ci.plugins:electricflow Maven | From 1.1.19 | 1.1.22 |
Products include Jenkins Cloudbees Cd.
How do I fix CVE-2021-21647?
Upgrade org.jenkins-ci.plugins:electricflow to a fixed version for your release line: 1.1.18.1 or 1.1.22.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-21647 being exploited?
There is no known exploitation of CVE-2021-21647 in the wild and no public exploit code.
Other vulnerabilities in Jenkins CloudBees CD Plugin
Sources
Also known as GHSA-7rx6-4vwv-432g.