# CVE-2021-21648: Cross-Site Request Forgery in Jenkins Credentials Plugin

Source: https://junglewise.ai/threats/cve-2021-21648-cross-site-request-forgery-in-jenkins-credentials-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-06-16  
License: CC BY 4.0 with a link back

CVE-2021-21648 · Severity: low · CVSS 3.1 · Published 2021-06-16

Cross-Site Request Forgery in Jenkins Credentials Plugin

Technologies: [org.jenkins-ci.plugins:credentials (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-credentials). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-21648 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-21648 being exploited in the wild.

**How severe is CVE-2021-21648?** Low severity, with a CVSS score of 3.1, published 16 June 2021.

**Which products and versions are affected?** org.jenkins-ci.plugins:credentials (Maven) ECOSYSTEM:introduced=2.3.16,fixed=2.3.19.

**Is there a fix for CVE-2021-21648?** Yes. org.jenkins-ci.plugins:credentials (Maven): upgrade to 2.3.19 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-21648?** Check whether you run org.jenkins-ci.plugins:credentials (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:credentials (Maven): upgrade to 2.3.19 or later

  ```sh
  # set org.jenkins-ci.plugins:credentials to 2.3.19 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:credentials (Maven) ECOSYSTEM:introduced=2.3.16,fixed=2.3.19

## Identifiers

- CVE-2021-21648
- GHSA-gchq-9r68-6jwv

## Related threats

- [Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission](https://junglewise.ai/threats/cve-2024-47805-jenkins-credentials-plugin-reveals-encrypted-values-of)
- [Insertion of Sensitive Information into Externally-Accessible File or Directory in Jenkins Credentials Plugin](https://junglewise.ai/threats/cve-2019-10320-insertion-of-sensitive-information-into-externally-accessible)
- [Exposure of Sensitive Information to an Unauthorized Actor in Jenkins SSH Credentials Plugin](https://junglewise.ai/threats/cve-2018-1000601-exposure-of-sensitive-information-to-an-unauthorized-actor-in)
- [Cross-site Scripting in Jenkins Credentials Plugin](https://junglewise.ai/threats/cve-2022-29036-cross-site-scripting-in-jenkins-credentials-plugin)
