Security mailing lists by PureSourceCode

CVE-2021-21639

MEDIUM 4.3CVSS 3.1

Lack of type validation in agent related REST API in Jenkins

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.

Published
7 Apr 2021
Last modified
17 Jun 2026
Assigned by
jenkinsci-cert@googlegroups.com
NVD status
Modified
Weakness
CWE-20
Also known as
BIT-jenkins-2021-21639GHSA-pvwx-3jx5-24r2
Sources
NVDJSONOSV GHSA-pvwx-3jx5-24r2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jenkins jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
<= 2.277.1
NVD jenkins jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*
<= 2.286
OSV Maven org.jenkins-ci.main:jenkins-core < 2.277.2 2.277.2
OSV Maven org.jenkins-ci.main:jenkins-core >= 2.278, < 2.287 2.287

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 7 Apr 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.