CVE-2021-21605
mediumpriority · track · 33EPSS 0.022 · 83 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6–8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-pxgq-gqr9-5gwxPath traversal vulnerability in Jenkins agent names2022-05-24ghsa · osvUS
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](https://www.jenkins.io/doc/book/managing/system-properties/) `jenkins.model.Nodes.enforceNameRestrictions` to `false`.
- BIT-jenkins-2021-216052024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2021-21605cnnvd
- https://packetstormsecurity.com/files/161454/Red-Hat-Security-Advisory-2021-0423-01.htmlcnnvd
- https://packetstormsecurity.com/files/161644/Red-Hat-Security-Advisory-2021-0429-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Jenkins-Core-Plugins-multiple-vulnerabilities-34310cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0191/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0599cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0772cnnvd
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-1452Patchcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan