{"id":"CVE-2021-21679","aliases":["CVE-2021-21679","GHSA-x77r-7m5w-pqq2"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL","summary":"Jenkins Azure AD Plugin 179.vf6841393099e and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Azure AD Plugin 179.vf6841393099e and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.","source":"cvelist"},{"lang":"en","text":"An extension point in Jenkins allows selectively disabling cross-site request forgery (CSRF) protection for specific URLs. Jenkins Azure AD Plugin implements this extension point for URLs used by a JavaScript component.\n\nIn Jenkins Azure AD Plugin 179.vf6841393099e and earlier this implementation is too permissive, allowing attackers to craft URLs that would bypass the CSRF protection of any target URL.\n\nThis vulnerability was originally introduced in Azure AD Plugin 164.v5b48baa961d2.\n\nAzure AD Plugin 180.v8b1e80e6f242 no longer allows bypassing CSRF protection for URLs used by the JavaScript component. Instead, that component was reconfigured to pass the expected CSRF token.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El Plugin Azure AD de Jenkins versiones 179.vf6841393099e y anteriores, permite a atacantes diseñar URLs que podrían omitir la protección CSRF de cualquier URL de destino en Jenkins","source":"nvd"}],"published":"2021-08-31T13:50:16.000Z","modified":"2026-06-17T03:35:59.057Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-352","CWE-693"],"affected":[{"ranges":[{"type":"custom","introduced":"164.v5b48baa961d2","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"179.vf6841393099e","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins Azure AD Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"180.v8b1e80e6f242"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:azure-ad","purl":"pkg:maven/org.jenkins-ci.plugins/azure-ad","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"164.v5b48baa961d2","lastAffected":"179.vf6841393099e"}],"vendor":"jenkins","product":"azure_ad","cpe":"cpe:2.3:a:jenkins:azure_ad:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2470","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/31/1","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21679","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/azure-ad-plugin/commit/8b1e80e6f242275127ebb177e2a755a2104b4853","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/azure-ad-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21679","url":"https://www.cve.org/CVERecord?id=CVE-2021-21679","licence":"CVE Terms of Use","modified":"2024-08-03T18:23:29.177Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x77r-7m5w-pqq2","url":"https://github.com/advisories/GHSA-x77r-7m5w-pqq2","licence":"CC-BY-4.0","modified":"2024-02-16T08:19:48.084Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21679","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21679","licence":"Public domain","modified":"2026-06-17T03:35:59.057Z"}],"updatedAt":"2026-11-25T22:58:03.573Z","epss":{"score":0.00683,"percentile":0.53783,"date":"2026-12-01T12:00:22.000Z"}}