high7.5
CVE-2021-21698
Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:subversion | <= 2.15.0 | 2.15.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Subversion | through 2.15.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/11/04/3
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506
- https://github.com/advisories/GHSA-q58j-fhj7-j6fg
- https://nvd.nist.gov/vuln/detail/CVE-2021-21698
- https://github.com/jenkinsci/subversion-plugin/commit/7d1525edea6641a2febd3f7deeac55c0a89b0d7e