Every CVE Search/ Get API key

CVE-2021-21679

Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.68%Up 0.1 points since Sep 1, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2021-21679
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-352
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-21679
Updated
2026-11-02
EUVDEUVD-2022-5736 No score

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.

Record
EUVD-2022-5736
Updated
2026-11-03
GitHub AdvisoriesGHSA-x77r-7m5w-pqq2 8.8

Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL

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.

In 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.

This vulnerability was originally introduced in Azure AD Plugin 164.v5b48baa961d2.

Azure 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.

Record
GHSA-x77r-7m5w-pqq2
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-352, CWE-693
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2021-21679
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-x77r-7m5w-pqq2 8.8

Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL

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.

In 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.

This vulnerability was originally introduced in Azure AD Plugin 164.v5b48baa961d2.

Azure 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.

Record
GHSA-x77r-7m5w-pqq2
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-352, CWE-693
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jenkins-ci.plugins:azure-ad
Maven
through 179.vf6841393099e
180.v8b1e80e6f242
org.jenkins-ci.plugins:azure-ad
Maven
before 180.v8b1e80e6f242, plus listed versions
0.1.10.1.1-10.2.00.3.00.3.1
Show 32 moreShow less
0.3.20.3.30.3.41.0.01.1.01.1.11.1.21.2.01.2.11.2.21.2.3146.vb688d1511c38150.vb3db9f880321152.v1609ed460604153.v7af57b288088154.v12e17a5f9ea3155.v745ce80af7ea157.v2d3d5782a602158.v437429002c6b164.v5b48baa961d2165.v36344b7d7ca7167.v34c2c5a3a030168.ve6e7e368dbf6170.v0a6219442a99171.v9ef20c94d336172.vf6a517c3329a173.v0a210fffb510174.vc2d906355813175.v5513346d764a177.v80b6c1591bf9178.v7b93892fbe4c179.vf6841393099e
180.v8b1e80e6f242

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-21679 is a high vulnerability (CVSS 8.8) in Jenkins Azure Ad, published August 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. Fixed in org.jenkins-ci.plugins:azure-ad 180.v8b1e80e6f242.

References

MoveEnter Open