# CVE-2021-21698: Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files

Source: https://junglewise.ai/threats/cve-2021-21698-path-traversal-vulnerability-in-jenkins-subversion-plugin-allows  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-21698 · Severity: low · CVSS 3.1 · Published 2022-05-24

Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files

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

## Quick answers

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

**How severe is CVE-2021-21698?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:subversion (Maven) ECOSYSTEM:introduced=0,fixed=2.15.1.

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

**Am I affected by CVE-2021-21698?** Check whether you run org.jenkins-ci.plugins:subversion (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:subversion (Maven): upgrade to 2.15.1 or later

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


## Affected products

- org.jenkins-ci.plugins:subversion (Maven) ECOSYSTEM:introduced=0,fixed=2.15.1

## Identifiers

- CVE-2021-21698
- GHSA-q58j-fhj7-j6fg

## Related threats

- [XXE vulnerability in Jenkins Subversion Plugin](https://junglewise.ai/threats/cve-2020-2304-xxe-vulnerability-in-jenkins-subversion-plugin)
- [Subversion Plugin stored XSS vulnerability](https://junglewise.ai/threats/cve-2020-2111-subversion-plugin-stored-xss-vulnerability)
- [Jenkins Subversion Plugin Stores Credentials with Base64 Encoding](https://junglewise.ai/threats/cve-2013-6372-jenkins-subversion-plugin-stores-credentials-with-base64-encoding)
- [Jenkins Subversion Plugin Cross-Site Request Forgery vulnerability](https://junglewise.ai/threats/cve-2017-1000085-jenkins-subversion-plugin-cross-site-request-forgery)
- [Jenkins Subversion Plugin Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2018-1000111-jenkins-subversion-plugin-incorrect-authorization-vulnerability)
