CVE-2020-2191 Improper permission checks in Jenkins Swarm Plugin

Medium 4.3 Published Updated

Attackers can add or remove agent labels via API endpoints without proper permission checks, potentially disrupting Jenkins build operations.

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-2191?

CVE-2020-2191 is a medium-severity missing authorization vulnerability in Jenkins Self-Organizing Swarm Plug-in Modules Plugin, published on 3 Jun 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.

Weakness: CWE-276

Which versions are affected by CVE-2020-2191?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:swarm MavenAll versions3.21
org.jenkins-ci.plugins:swarm MavenAll versions3.21

Products include Jenkins Self-Organizing Swarm Modules.

How do I fix CVE-2020-2191?

Upgrade org.jenkins-ci.plugins:swarm to 3.21 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-2191 being exploited?

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

Sources

Also known as GHSA-j852-mp82-wv2g.

Is CVE-2020-2191 in your software?

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

Check your SBOMs for free