CVE-2021-21698
Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » subversion | < 2.15.1 | 2.15.1 |
Blast radius
59% of the dependent artifacts (25) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 480 |
| 2 hops | 32 |
| 3 hops | 103 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins.workflow » workflow-scm-step104 usages
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkins-ci.plugins » config-file-provider32 usages
- org.jenkins-ci.lib » xtrigger-lib9 usages
- org.marvelution.jji.testsuite » jenkins-testkit2 usages
- net.praqma » cool-jenkins-test2 usages
- org.jenkins-ci.plugins » scripttrigger2 usages
- org.jenkins-ci.plugins » urltrigger1 usages
- org.jenkins-ci.plugins » fstrigger1 usages
- org.jenkins-ci.plugins » buildresult-trigger1 usages
- org.jenkins-ci.plugins » ivytrigger1 usages
- org.jenkins-ci.plugins » last-changes0 usages
- io.alauda.jenkins.plugins » alauda-devops-sync0 usages
- ru.yandex.jenkins.plugins.debuilder » debian-package-builder0 usages
Computed from the dependency graph of build 20261127.1117 (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-21698 | nvd.nist.gov |
| Package | jenkinsci/subversion-plugin | github.com |
| Web | jenkinsci/subversion-plugin commit 7d1525e | github.com |
| Web | security/advisory/2021-11-04 | jenkins.io |
| Web | lists/oss-security/2021/11/04/3 | openwall.com |
