CVE-2023-41935 — azure-ad
HIGHCVE-2023-41935 is a high-severity (CVSS 7.5) CWE-697 vulnerability in org.jenkins-ci.plugins:azure-ad. A fix is available for org.jenkins-ci.plugins:azure-ad — see the affected versions and patch details below.
Non-constant time nonce comparison in Jenkins Microsoft Entra ID (previously Azure AD) Plugin
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-41935.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jenkins-ci.plugins:azure-ad☕org.jenkins-ci.plugins:azure-adReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Jenkins Azure AD Plugin 396.v86ce29279947 and earlier, except 378.380.v545b_1154b_3fb_, uses a non-constant time comparison function when checking whether the provided and expected CSRF protection nonce are equal, potentially allowing attackers to use statistical methods to obtain a valid nonce.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins:azure-ad | ≥ 378.380.v545b&&< 397.v907382dd9b | 397.v907382dd9borg.jenkins-ci.plugins:azure-ad:397.v907382dd9b |
| ☕Maven | org.jenkins-ci.plugins:azure-ad | all versions | 378.vd6e2874aorg.jenkins-ci.plugins:azure-ad:378.vd6e2874a |
Affected Products
azure adjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:azure-ad, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins:azure-ad to 397.v907382dd9b or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-41935 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2023-41935 in your dependencies?
Find it across Maven, including transitive dependencies.