🛡️ CVE-2021-21604 — jenkins
Description
Improper handling of REST API XML deserialization errors in Jenkins
Jenkins provides XML REST APIs to configure views, jobs, and other items. When deserialization fails because of invalid data, Jenkins 2.274 and earlier, LTS 2.263.1 and earlier stores invalid object references created through these endpoints in the Old Data Monitor. If an administrator discards the old data, some erroneous data submitted to these endpoints may be persisted.
This allows attackers with View/Create, Job/Create, Agent/Create, or their respective */Configure permissions to inject crafted content into Old Data Monitor that results in the instantiation of potentially unsafe objects when discarded by an administrator.\n\nJenkins 2.275, LTS 2.263.2 does not record submissions from users in Old Data Monitor anymore.
In case of problems, the [Java system properties](https://www.jenkins.io/doc/book/managing/system-properties/) hudson.util.RobustReflectionConverter.recordFailuresForAdmins and hudson.util.RobustReflectionConverter.recordFailuresForAllAuthentications can be set to true to record configuration data submissions from administrators or all users, partially or completely disabling this fix.
Affected software
CVE-2021-21604 is recorded against 2 packages.
- jenkins
- org.jenkins-ci.main:jenkins-core (from 2.264 up to 2.275)
Timeline and source
Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| jenkins | — | — |
| org.jenkins-ci.main:jenkins-core | 2.264 | 2.275 |
References
Similar Threats
- Unknown CGA-6g73-q3c3-92w7
- Unknown CGA-7235-w595-g588
- Unknown CGA-8fh2-rcx7-55xv
- Unknown CGA-8hr7-6c5h-m383
- Unknown CGA-8mhg-rvh5-jcp3
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is jenkins part of your stack?
CVE-2021-21604 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.