CVE-2021-21625
Missing permission checks in Jenkins CloudBees AWS Credentials Plugin allows enumerating credentials IDs
Description
CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints. This allows attackers with Overall/Read permission to enumerate credentials IDs of AWS credentials stored in Jenkins if any of the following plugins are installed: - [Amazon Elastic Container Service (ECS) / Fargate](https://plugins.jenkins.io/amazon-ecs) - [AWS Parameter Store Build Wrapper](https://plugins.jenkins.io/aws-parameter-store) - [AWS SAM](https://plugins.jenkins.io/aws-sam)\n\nFurther plugins may use this helper method as well without performing a permission check themselves. Credentials IDs obtained this way can be used as part of an attack to capture the credentials using another vulnerability. CloudBees AWS Credentials Plugin 1.28.1 performs permission checks in the helper method for HTTP endpoints.
How to fix CVE-2021-21625
To remediate CVE-2021-21625, upgrade the affected package to a fixed version below.
- —upgrade to 1.28.1 or later
Is CVE-2021-21625 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.28.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |