{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21639","id":"CVE-2021-21639","title":"Lack of type validation in agent related REST API in Jenkins","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.","descriptionLong":"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":"2021-04-07T13:50:13.000Z","updated":"2026-10-24T10:31:02.087765076Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Jenkins project Jenkins"],"affectedProducts":[{"vendor":"Jenkins project","product":"Jenkins","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.286","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"LTS 2.277.1","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","ranges":["<2.277.2",">=2.278 <2.287"],"fixed":["2.277.2","2.287"],"advisory":"GHSA-pvwx-3jx5-24r2"}],"cwes":["CWE-20"],"aliases":["BIT-jenkins-2021-21639","GHSA-pvwx-3jx5-24r2"],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-04-07/#SECURITY-1721","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/04/07/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21639","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins/commit/84210baed0c866bdee3e59271f98a767a14a5509","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02725,"epssPercentile":0.86369,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21639","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21639","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21639","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pvwx-3jx5-24r2","ok":true,"note":"GHSA-pvwx-3jx5-24r2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21639","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}