CVE-2021-21698: Path Traversal

Published Nov 4, 2021
·
Updated

Jenkins Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller from an agent.

Other sources

Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller from an agent.

This allows attackers able to control agent processes to read arbitrary files on the Jenkins controller file system

Reference:

https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506

Red Hat

Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller from an agent.

This allows attackers able to control agent processes to read arbitrary files on the Jenkins controller file system.

Subversion Plugin 2.15.1 checks for the presence of and prohibits directory separator characters as part of the file name, restricting it to the intended directory.

Affected Software

3 affected componentsFixes available
maven/org.jenkins-ci.plugins:subversion<=2.15.0
2.15.1
redhat/Subversion Plugin<2.15.1
2.15.1
jenkins subversion Jenkins<=2.15.0

Event History

Nov 4, 2021
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
Description
May 24, 2022
Advisory Published
07:19 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-21698?

CVE-2021-21698 is a vulnerability in the Jenkins Subversion Plugin that allows file name restriction bypass when looking up a subversion key file on the controller from an agent.

2

How severe is CVE-2021-21698?

CVE-2021-21698 has a severity rating of 7.5 (high).

3

Which software versions are affected by CVE-2021-21698?

Jenkins Subversion Plugin versions up to and including 2.15.0 are affected by CVE-2021-21698.

4

How can I fix CVE-2021-21698?

To fix CVE-2021-21698, upgrade to Jenkins Subversion Plugin version 2.15.1 or later.

5

Where can I find more information about CVE-2021-21698?

You can find more information about CVE-2021-21698 at the following references: [1](http://www.openwall.com/lists/oss-security/2021/11/04/3), [2](https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506), [3](https://access.redhat.com/errata/RHSA-2021:4833).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203