PT-2021-14648

CVE-2021-21605

·

Published

2021-01-13

·

Updated

2026-10-31

Description by

CVSS 3.1
8.0
High
MetricsAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jenkins versions 2.274 and earlier, LTS versions 2.263.1 and earlier
Description The issue allows users with Agent/Configure permission to choose agent names that cause Jenkins to override the global config.xml file. If the global config.xml file is replaced, Jenkins will start up with unsafe legacy defaults after a restart. This can be exploited by choosing specific agent names.
Recommendations For versions 2.274 and earlier, LTS 2.263.1 and earlier, update to Jenkins 2.275, LTS 2.263.2 to ensure that agent names are considered valid names for items to prevent this problem. As a temporary workaround, consider setting the Java system property jenkins.model.Nodes.enforceNameRestrictions to true to enforce name restrictions. Note that this change can be reverted by setting the Java system property jenkins.model.Nodes.enforceNameRestrictions to false if problems occur.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-PXGQ-GQR9-5GWX
BIT-JENKINS-2021-21605
CLEANSTART-2025-ME50742
RHSA-2021:0423
RHSA-2021:0429
RHSA-2021:0637
RHSA-2021:2437
Found an issue in the description? Have something to add? Feel free to write us 👾