CVE-2021-21625 Missing permission checks in Jenkins CloudBees AWS Credentials Plugin allows enumerating credentials IDs

Medium 4.3 Published Updated

Attackers with read permissions can enumerate AWS credential IDs due to missing permission checks in the Jenkins AWS Credentials 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-21625?

CVE-2021-21625 is a medium-severity missing authorization vulnerability in Jenkins CloudBees AWS Credentials Plugin, published on 18 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints, allowing attackers with Overall/Read permission to enumerate credentials IDs of AWS credentials stored in Jenkins in some circumstances.

Weakness: CWE-862

Which versions are affected by CVE-2021-21625?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:aws-credentials MavenAll versions1.28.1
org.jenkins-ci.plugins:aws-credentials MavenAll versions1.28.1

Products include Jenkins Cloudbees Aws Credentials.

How do I fix CVE-2021-21625?

Upgrade org.jenkins-ci.plugins:aws-credentials to 1.28.1 or later.

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

Is CVE-2021-21625 being exploited?

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

Sources

Also known as GHSA-jwr9-h4jm-c9ch.

Is CVE-2021-21625 in your software?

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

Check your SBOMs for free