7.5high
Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.14% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-q58j-fhj7-j6fg
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Subversion Plugin | from unspecified up to 2.15.0 | CVE List |
| org.jenkins-ci.plugins:subversion (Maven) | before 2.15.1 | GitHub Advisory Database |
| jenkins subversion | up to 2.15.0 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Jenkins Subversion Plugin versiones 2.15.0 y anteriores, no restringe el nombre de un archivo cuando es buscado un archivo de claves de subversión en el controlador desde un agente
References
| https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2021/11/04/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21698 | advisory | |
| https://github.com/jenkinsci/subversion-plugin/commit/7d1525edea6641a2febd3f7deeac55c0a89b0d7e | web | |
| https://github.com/jenkinsci/subversion-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21698 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q58j-fhj7-j6fg changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21698 changed 2026-06-17 | Public domain |