CVE-2021-21639: Input Validation

Published Apr 7, 2021
·
Updated

A flaw was found in Jenkins. Due to lack of validation of type of object created after loading the data submitted to the config.xml REST API endpoint of a node, an attackers with Computer/Configure permission are able to replace a node with one of a different type.

Other sources

Jenkins 2.286 and earlier, LTS 2.277.1 and earlier does not validate the type of object created after loading the data submitted to the config.xml REST API endpoint of a node, allowing attackers with Computer/Configure permission to replace a node with one of a different type.

Jenkins 2.286 and earlier, LTS 2.277.1 and earlier does not validate the type of object created after loading the data submitted to the config.xml REST API endpoint of a node.

This allows attackers with Computer/Configure permission to replace a node with one of a different type.

Jenkins 2.287, LTS 2.277.2 validates the type of object created and rejects objects of unexpected types.

Affected Software

8 affected componentsFixes available
redhat/jenkins<0:2.277.3.1620393611-1.el8
0:2.277.3.1620393611-1.el8
redhat/jenkins<0:2.289.1.1624020353-1.el8
0:2.289.1.1624020353-1.el8
maven/org.jenkins-ci.main:jenkins-core<2.277.2
2.277.2
maven/org.jenkins-ci.main:jenkins-core>=2.278<=2.286
2.287
redhat/jenkins<2.287
2.287
redhat/jenkins LTS<2.277.2
2.277.2
Jenkins Jenkins<=2.277.1
Jenkins Jenkins<=2.286

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.277.3.1620393611-1.el8
  2. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.289.1.1624020353-1.el8
  3. Upgrade

    Upgrade maven/org.jenkins-ci.main:jenkins-core to a version that resolves this vulnerability.

    Fixed in 2.277.2
  4. Upgrade

    Upgrade maven/org.jenkins-ci.main:jenkins-core to a version that resolves this vulnerability.

    Fixed in 2.287
  5. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2.287
  6. Upgrade

    Upgrade redhat/jenkins LTS to a version that resolves this vulnerability.

    Fixed in 2.277.2
  7. Upgrade

    Upgrade Jenkins to a version that resolves this vulnerability.

    Fixed in 2.287
  8. Upgrade

    Upgrade Jenkins LTS to a version that resolves this vulnerability.

    Fixed in 2.277.2

Event History

Apr 7, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·01:50 PM
Data Sourced
via MITRE·01:50 PM
Description
Data Sourced
via Red Hat·04:54 PM
DescriptionSeverityAffected Software
May 24, 2022
Advisory Published
05:46 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-21639?

CVE-2021-21639 is a vulnerability in Jenkins that allows attackers with Computer/Configure permission to replace a node with one of a different type.

2

What is the severity of CVE-2021-21639?

CVE-2021-21639 has a severity rating of 3.1 (low).

3

How does CVE-2021-21639 affect Jenkins?

CVE-2021-21639 affects Jenkins versions 2.286 and earlier, LTS 2.277.1 and earlier.

4

How can I fix CVE-2021-21639?

To fix CVE-2021-21639, update Jenkins to version 2.287 or LTS 2.277.2 or later.

5

Where can I find more information about CVE-2021-21639?

More information about CVE-2021-21639 can be found at the following references: [1](http://www.openwall.com/lists/oss-security/2021/04/07/2), [2](https://www.jenkins.io/security/advisory/2021-04-07/#SECURITY-1721), [3](https://access.redhat.com/errata/RHSA-2021:2437).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203