CVE-2021-21679
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. 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.
How to fix CVE-2021-21679
To remediate CVE-2021-21679, upgrade the affected package to a fixed version below.
- —upgrade to 180.v8b1e80e6f242 or later
Is CVE-2021-21679 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 180.v8b1e80e6f242
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |