8.0high
Path traversal vulnerability in Jenkins agent names
- Severity
- 8.0high CVSS:3.1 by NVD
- Exploit likelihood
- 2.25% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-pxgq-gqr9-5gwxBIT-JENKINS-2021-21605
Description
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows users with Agent/Configure permission to choose agent names that cause Jenkins to override the global `config.xml` file.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins | from unspecified up to 2.274, from unspecified up to LTS 2.263.1 | CVE List |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.263.2, from 2.264 before 2.275 | GitHub Advisory Database |
| jenkins jenkins | up to 2.263.1, up to 2.274 | NVD |
| jenkins (Bitnami) | before 2.274.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.0medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows users with Agent/Configure permission to choose agent names that cause Jenkins to override the global `config.xml` file.
GitHub Advisory Database
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows users with Agent/Configure permission to choose agent names that cause Jenkins to override unrelated config.xml files. If the global config.xml file is replaced, Jenkins will start up with unsafe legacy defaults after a restart.
Jenkins 2.275, LTS 2.263.2 ensures that agent names are considered valid names for items to prevent this problem.
In case of problems, this change can be reverted by setting the Java system property jenkins.model.Nodes.enforceNameRestrictions to false.
NVD (es)
Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y anteriores, permite a usuarios con permiso Agent/Configure elegir nombres de agente que causa que Jenkins anule el archivo global "config.xml".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21605 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pxgq-gqr9-5gwx changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21605 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2021-21605 changed 2026-09-08 | Apache-2.0 |