6.5medium
Path traversal vulnerability on Windows in Jenkins
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.17% (higher than 83% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-4pw5-r58h-fv24BIT-JENKINS-2021-21683
Description
The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins | from unspecified up to 2.314, from unspecified up to LTS 2.303.1 | CVE List |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.303.2, from 2.304 before 2.315 | GitHub Advisory Database |
| jenkins jenkins | up to 2.303.1, up to 2.314 | NVD |
| jenkins (Bitnami) | before 2.314.1 | Bitnami Vulnerability Database |
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 | 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 | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.
GitHub Advisory Database
The file browser for workspaces, archived artifacts, and userContent/ in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows.
This results in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.\n\nThe file browser in Jenkins 2.315, LTS 2.303.2 refuses to serve files that would be considered absolute paths.
NVD (es)
El navegador de archivos en Jenkins versiones 2.314 y anteriores, LTS versiones 2.303.1 y anteriores, puede interpretar algunas rutas de archivos como absolutas en Windows, resultando en una vulnerabilidad de salto de ruta que permite a atacantes con permiso de Overall/Read (controlador de Windows) o permiso de Job/Workspace (agentes de Windows) obtener el contenido de archivos arbitrarios
References
| https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2481 | advisory, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2021/10/06/1 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21683 | advisory, web | |
| https://github.com/jenkinsci/jenkins/commit/3f679fc12d073676a4441d3fa8b5fff34c07662f | web | |
| https://github.com/jenkinsci/jenkins | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21683 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4pw5-r58h-fv24 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21683 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2021-21683 changed 2026-09-08 | Apache-2.0 |