CVE-2021-21631 Missing permission check in Jenkins Cloud Statistics Plugin

Medium 4.3 Published Updated

Attackers with read permissions can view provisioning exception error messages due to missing permission checks in the Jenkins Cloud Statistics 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-21631?

CVE-2021-21631 is a medium-severity missing authorization vulnerability in Jenkins Cloud Statistics Plugin, published on 30 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Cloud Statistics Plugin 0.26 and earlier does not perform a permission check in an HTTP endpoint, allowing attackers with Overall/Read permission and knowledge of random activity IDs to view related provisioning exception error messages.

Weakness: CWE-862

Which versions are affected by CVE-2021-21631?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:cloud-stats MavenAll versions0.27
org.jenkins-ci.plugins:cloud-stats MavenAll versions0.27

Products include Jenkins Cloud Statistics.

How do I fix CVE-2021-21631?

Upgrade org.jenkins-ci.plugins:cloud-stats to 0.27 or later.

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

Is CVE-2021-21631 being exploited?

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

Sources

Also known as GHSA-xv69-6rf3-w5g2.

Is CVE-2021-21631 in your software?

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

Check your SBOMs for free