Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-21639

jenkins: lack of type validation in agent related REST API

Overview

Published
7 Apr 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
103 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages · 2

Packages affected by CVE-2021-21639
EcosystemPackageVulnerableFixed in
Bitnami jenkins <2.286.1 2.286.1
Maven org.jenkins-ci.main:jenkins-core <2.277.2>=2.278, <2.287 2.277.22.287

Open a package to see all its vulnerabilities.

Operating systems · 69 fixes

Red Hat 2 releases · 54 packages

affected 1 fixed 64
jenkins runc cri-tools cri-o openshift-clients openshift-ansible +48
Red Hat fixes for CVE-2021-21639
ReleasePackageFixed inAdvisory
7 jenkins affected —
7 runc 0:1.0.0-95.rhaos4.8.gitcd80260.el7 RHSA-2021:1551
7 runc 0:1.0.0-98.rhaos4.8.gitcd80260.el7 RHSA-2021:2437
7 cri-tools 0:1.20.0-2.el7 RHSA-2021:1551
7 cri-tools 0:1.21.0-2.el7 RHSA-2021:2437
7 cri-o 0:1.21.2-5.rhaos4.8.gitb27d974.el7 RHSA-2021:2437

59 more rows

alpine 4 releases · 1 package

fixed 4
jenkins
alpine fixes for CVE-2021-21639
ReleasePackageFixed in
3.22 jenkins 2.287-r0
3.23 jenkins 2.287-r0
3.24 jenkins 2.287-r0
edge jenkins 2.287-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.