{"id":"CVE-2021-21679","aliases":["EUVD-2022-5736","GHSA-x77r-7m5w-pqq2"],"status":"published","title":"Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00683,"percentile":0.52839,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352","CWE-693"],"published":"2021-08-31T13:50:16Z","modified":"2026-10-24T10:30:57Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:azure-ad","fixed_in":["180.v8b1e80e6f242"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:azure-ad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"179.vf6841393099e"},{"fixed":"180.v8b1e80e6f242"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:azure-ad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"180.v8b1e80e6f242"}]}],"versions":["0.1.1","0.1.1-1","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","1.0.0","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","146.vb688d1511c38","150.vb3db9f880321","152.v1609ed460604","153.v7af57b288088","154.v12e17a5f9ea3","155.v745ce80af7ea","157.v2d3d5782a602","158.v437429002c6b","164.v5b48baa961d2","165.v36344b7d7ca7","167.v34c2c5a3a030","168.ve6e7e368dbf6","170.v0a6219442a99","171.v9ef20c94d336","172.vf6a517c3329a","173.v0a210fffb510","174.vc2d906355813","175.v5513346d764a","177.v80b6c1591bf9","178.v7b93892fbe4c","179.vf6841393099e"]}],"products":[{"vendor":"jenkins","product":"azure_ad"},{"vendor":"jenkins project","product":"jenkins azure ad plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2470","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/31/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21679","tags":["advisory"]},{"url":"https://github.com/jenkinsci/azure-ad-plugin/commit/8b1e80e6f242275127ebb177e2a755a2104b4853","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x77r-7m5w-pqq2"},{"url":"https://github.com/jenkinsci/azure-ad-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-21679","description":"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.","status":"published","published":"2021-08-31T13:50:16Z","modified":"2024-08-03T18:23:29.177Z","updated_at":"2026-11-02T14:33:00.137099Z"}],"euvd":[{"id":"EUVD-2022-5736","description":"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.","status":"published","published":"2021-08-31T13:50:16Z","modified":"2024-08-03T18:23:29Z","updated_at":"2026-11-03T03:25:04.672228Z"}],"ghsa":[{"id":"GHSA-x77r-7m5w-pqq2","title":"Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL","description":"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.","status":"published","published":"2022-05-24T19:12:36Z","modified":"2023-12-18T15:41:29Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352","CWE-693"],"updated_at":"2026-11-02T14:37:26.727664Z"}],"nvd":[{"id":"CVE-2021-21679","description":"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.","status":"published","published":"2021-08-31T14:15:25.553Z","modified":"2026-06-17T03:35:59.057Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:06:57.67549Z"}],"osv":[{"id":"CVE-2021-21679","description":"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.","status":"published","published":"2021-08-31T14:15:25.553Z","modified":"2026-10-24T10:30:57.453335038Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-x77r-7m5w-pqq2","title":"Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL","description":"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.","status":"published","published":"2022-05-24T19:12:36Z","modified":"2024-02-16T08:19:48.084034Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352","CWE-693"],"updated_at":"2026-11-02T15:46:59.484835Z"}]}}
