CVE-2021-21678
mediumpriority · track · 35EPSS 0.008 · 57 %ileEUUSEPSS · scored 2026-10-28
Jenkins SAML Plugin 2.0.7 and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-r5w3-pfq8-3r82Jenkins SAML Plugin allows bypassing CSRF protection for any URL2022-05-24ghsa · osvUS
An extension point in Jenkins allows selectively disabling cross-site request forgery (CSRF) protection for specific URLs. SAML Plugin implements this extension point for the URL that users are redirected to after login. In Jenkins SAML Plugin 2.0.7 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 Jenkins SAML Plugin 1.1.3. Jenkins SAML Plugin 2.0.8 restricts which URLs it disables cross-site request forgery (CSRF) protection for to the one URL that needs it.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/08/31/1cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-36276cnnvd
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2469cnnvd
- http://www.openwall.com/lists/oss-security/2021/08/31/1enisa_euvd
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2469enisa_euvd
- http://www.openwall.com/lists/oss-security/2021/08/31/1Mailing ListThird Party Advisorynvd
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2469Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan