CVE-2022-20616
Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin
Description
Jenkins Credentials Binding Plugin prior to 1.27.1 and 1.24.1 does not perform a permission check in a method implementing form validation.
This allows attackers with Overall/Read access to validate if a credential ID refers to a secret file credential and whether it’s a zip file.
Credentials Binding Plugin 1.27.1 and 1.24.1 performs permission checks when validating secret file credentials IDs.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » credentials-binding | < 1.24.1>= 1.25, < 1.27.1 | 1.24.1, 1.27.1 |
Blast radius
42% of the dependent artifacts (67) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,958 |
| 2 hops | 7,609 |
| 3 hops | 4,039 |
| 4 hops | 57 |
| 5 hops | 6 |
Most used dependents
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » git-client67 usages
- org.jenkins-ci.plugins » github-branch-source48 usages
- org.jenkins-ci.plugins » docker-commons40 usages
- org.jenkins-ci.plugins » aws-credentials33 usages
- com.coravy.hudson.plugins.github » github22 usages
- org.jenkins-ci.plugins » cloudbees-bitbucket-branch-source21 usages
- org.jenkinsci.plugins » pipeline-model-extensions18 usages
- org.jenkins-ci.plugins » azure-credentials17 usages
- org.csanchez.jenkins.plugins » kubernetes11 usages
- org.jenkins-ci.plugins » docker-workflow11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- com.datapipe.jenkins.plugins » hashicorp-vault-plugin6 usages
Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-20616 | nvd.nist.gov |
| Package | jenkinsci/credentials-binding-plugin | github.com |
| Web | jenkinsci/credentials-binding-plugin commit 2dd5eda | github.com |
| Web | CVEProject/cvelist CVE-2022-20616.json | github.com |
| Web | security/advisory/2022-01-12 | jenkins.io |
| Web | lists/oss-security/2022/01/12/6 | openwall.com |
