CVE-2021-21650 Missing Authorization in Jenkins S3 publisher Plugin

Medium 4.3 Published Updated

Attackers with read permissions can access S3 artifact information due to missing authorization checks in the Jenkins S3 publisher 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-21650?

CVE-2021-21650 is a medium-severity missing authorization vulnerability in Jenkins S3 publisher Plugin, published on 11 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins S3 publisher Plugin 0.11.6 and earlier does not perform Run/Artifacts permission checks in various HTTP endpoints and API models, allowing attackers with Item/Read permission to obtain information about artifacts uploaded to S3, if the optional Run/Artifacts permission is enabled.

Which versions are affected by CVE-2021-21650?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:s3 MavenAll versions0.11.5.1
org.jenkins-ci.plugins:s3 MavenAll versions0.11.5.1
org.jenkins-ci.plugins:s3 MavenFrom 0.11.60.11.7
org.jenkins-ci.plugins:s3 MavenFrom 0.11.60.11.7

Products include Jenkins S3 Publisher.

How do I fix CVE-2021-21650?

Upgrade org.jenkins-ci.plugins:s3 to a fixed version for your release line: 0.11.5.1 or 0.11.7.

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

Is CVE-2021-21650 being exploited?

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

Sources

Also known as GHSA-fvfc-8pqr-wjpv.

Is CVE-2021-21650 in your software?

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

Check your SBOMs for free