GitHub Advisoryadvisory · Maven
GHSA-gchq-9r68-6jwv Cross-Site Request Forgery in Jenkins Credentials Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21648
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:credentials
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-05-19
Affected packages
• Maven org.jenkins-ci.plugins:credentials: >= 2.3.16, < 2.3.19 → fixed in 2.3.19
• Maven org.jenkins-ci.plugins:credentials: >= 2.3.15, < 2.3.15.1 → fixed in 2.3.15.1
• Maven org.jenkins-ci.plugins:credentials: >= 2.3.14, < 2.3.14.1 → fixed in 2.3.14.1
• Maven org.jenkins-ci.plugins:credentials: >= 2.3.8, < 2.3.13.1 → fixed in 2.3.13.1
• Maven org.jenkins-ci.plugins:credentials: >= 2.3.1, < 2.3.7.1 → fixed in 2.3.7.1
• Maven org.jenkins-ci.plugins:credentials: < 2.3.0.1 → fixed in 2.3.0.1
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.
Related
Alias · CVE (1)
- CVE-2021-21648 Jenkins Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides, resulting in a reflected… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21648 advisory
- https://github.com/jenkinsci/credentials-plugin/commit/41f3ec1143f80a7e80ab9a4a5f861f26fd3792cc web
- https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21648.json web
- https://github.com/jenkinsci/credentials-plugin package
- https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2349 web