CVE-2021-21651 Missing Authorization in Jenkins S3 publisher Plugin
Attackers with read permissions can access configured S3 profiles 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-21651?
CVE-2021-21651 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 a permission check in an HTTP endpoint, allowing attackers with Overall/Read permission to obtain the list of configured profiles.
Which versions are affected by CVE-2021-21651?
4 open source packages ship an affected version, including org.jenkins-ci.plugins:s3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:s3 Maven | All versions | 0.11.5.1 |
org.jenkins-ci.plugins:s3 Maven | All versions | 0.11.5.1 |
org.jenkins-ci.plugins:s3 Maven | From 0.11.6 | 0.11.7 |
org.jenkins-ci.plugins:s3 Maven | From 0.11.6 | 0.11.7 |
Products include Jenkins S3 Publisher.
How do I fix CVE-2021-21651?
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-21651 being exploited?
There is no known exploitation of CVE-2021-21651 in the wild and no public exploit code.
Other vulnerabilities in Jenkins S3 publisher Plugin
Sources
Also known as GHSA-w5rh-j4g3-jr29.