CVE-2021-21643 Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs

Medium 6.5 Published Updated

Attackers with Job/Configure permissions can enumerate system-scoped credential IDs in Jenkins Config File Provider 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-21643?

CVE-2021-21643 is a medium-severity vulnerability in Jenkins Config File Provider Plugin, published on 21 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Config File Provider Plugin 3.7.0 and earlier does not correctly perform permission checks in several HTTP endpoints, allowing attackers with global Job/Configure permission to enumerate system-scoped credentials IDs of credentials stored in Jenkins.

Which versions are affected by CVE-2021-21643?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:config-file-provider MavenAll versions3.7.1
org.jenkins-ci.plugins:config-file-provider MavenAll versions3.7.1

Products include Jenkins Config File Provider.

How do I fix CVE-2021-21643?

Upgrade org.jenkins-ci.plugins:config-file-provider to 3.7.1 or later.

Is CVE-2021-21643 being exploited?

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

Sources

Also known as GHSA-3m3f-2323-64m7.

Is CVE-2021-21643 in your software?

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

Check your SBOMs for free