CVE-2021-21648
Cross-Site Request Forgery in Jenkins Credentials Plugin
Description
Jenkins Credentials Plugin prior to 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 does not escape user-controlled information on a view it provides, resulting in a reflected cross-site scripting (XSS) vulnerability.
Jenkins Credentials Plugin 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 restricts the user-controlled information it provides to a safe subset.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » credentials | < 2.3.0.1>= 2.3.1, < 2.3.7.1>= 2.3.8, < 2.3.13.1>= 2.3.14, < 2.3.14.1>= 2.3.15, < 2.3.15.1>= 2.3.16, < 2.3.19 | 2.3.0.1, 2.3.7.1, 2.3.13.1, 2.3.14.1, 2.3.15.1, 2.3.19 |
Blast radius
48% of the dependent artifacts (322) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 13,946 |
| 2 hops | 11,853 |
| 3 hops | 840 |
| 4 hops | 569 |
| 5 hops | 313 |
| 6 hops | 101 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.jenkins-ci.plugins » plain-credentials238 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins » scm-api193 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- org.jenkins-ci.plugins » mailer132 usages
- org.jenkins-ci.main » maven-plugin131 usages
- org.jenkins-ci.plugins.workflow » workflow-multibranch110 usages
- org.jenkins-ci.plugins.workflow » workflow-scm-step104 usages
- org.jenkins-ci.plugins » ssh-credentials96 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » git-client67 usages
- org.jenkins-ci.plugins » subversion58 usages
Computed from the dependency graph of build 20261125.2201 (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-2021-21648 | nvd.nist.gov |
| Package | jenkinsci/credentials-plugin | github.com |
| Web | jenkinsci/credentials-plugin commit 41f3ec1 | github.com |
| Web | CVEProject/cvelist CVE-2021-21648.json | github.com |
| Web | security/advisory/2021-05-11 | jenkins.io |
