{"answers":{"affected":"4 open source packages ship an affected version, including org.jenkins-ci.plugins:azure-ad. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-41935 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.plugins:azure-ad to a fixed version for your release line: 378.vd6e2874a or 397.v907382dd9b.","what":"CVE-2023-41935 is a high-severity vulnerability in Jenkins Azure AD Plugin, published on 6 Sep 2023."},"fix_prompt":"Check this codebase for CVE-2023-41935 and fix it if it is affected.\n\nWhat it is: CVE-2023-41935 is a high-severity vulnerability in Jenkins Azure AD Plugin, published on 6 Sep 2023. \nExploitation: There is no known exploitation of CVE-2023-41935 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:azure-ad (Maven): affected all versions; fixed in 378.vd6e2874a\n- org.jenkins-ci.plugins:azure-ad (Maven): affected all versions; fixed in 378.vd6e2874a\n- org.jenkins-ci.plugins:azure-ad (Maven): affected from 378.380.v545b; fixed in 397.v907382dd9b\n- org.jenkins-ci.plugins:azure-ad (Maven): affected from 378.380.v545b; fixed in 397.v907382dd9b\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-41935/ (Markdown: https://insights.sbomify.com/CVE-2023-41935/index.md)","id":"CVE-2023-41935","markdown":"https://insights.sbomify.com/CVE-2023-41935/index.md","name":"CVE-2023-41935","record":{"aliases":["GHSA-hj7p-h74j-6gxj"],"analysis":null,"analysis_generated_by":null,"assigner":"jenkins","cpe":[{"product":"azure_ad","vendor":"jenkins"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Non-constant time nonce comparison in Jenkins Microsoft Entra ID (previously Azure AD) Plugin","id":"CVE-2023-41935","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2023"},"n_packages":4,"n_references":2,"next":{"headline":"Jenkins Google Login Plugin non-constant time token comparison","id":"CVE-2023-41936"},"packages":[{"ecosystem":"Maven","fixed":["378.vd6e2874a"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:azure-ad","purl":null,"source":"GHSA-hj7p-h74j-6gxj"},{"ecosystem":"Maven","fixed":["378.vd6e2874a"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:azure-ad","purl":"pkg:maven/org.jenkins-ci.plugins/azure-ad","source":"GHSA-hj7p-h74j-6gxj"},{"ecosystem":"Maven","fixed":["397.v907382dd9b"],"introduced":["378.380.v545b"],"last_affected":[],"package":"org.jenkins-ci.plugins:azure-ad","purl":null,"source":"GHSA-hj7p-h74j-6gxj"},{"ecosystem":"Maven","fixed":["397.v907382dd9b"],"introduced":["378.380.v545b"],"last_affected":[],"package":"org.jenkins-ci.plugins:azure-ad","purl":"pkg:maven/org.jenkins-ci.plugins/azure-ad","source":"GHSA-hj7p-h74j-6gxj"}],"prev":{"headline":"Improper masking of credentials in Jenkins Pipeline Maven Integration Plugin","id":"CVE-2023-41934"},"products":["Jenkins Azure AD Plugin"],"published":"2023-09-06","related":[{"cvss_score":8.8,"headline":"Insufficient Session Expiration in Jenkins Azure AD Plugin","id":"CVE-2023-24426","kev_date_added":null,"published":"2023-01-24"},{"cvss_score":8.8,"headline":"Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL","id":"CVE-2021-21679","kev_date_added":null,"published":"2021-08-31"},{"cvss_score":8.8,"headline":"Jenkins Azure AD Plugin stored the client secret unencrypted","id":"CVE-2019-10318","kev_date_added":null,"published":"2019-04-30"},{"cvss_score":5.3,"headline":"Client secret transmitted in plain text by Azure AD Plugin","id":"CVE-2020-2119","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":4.3,"headline":"Jenkins Microsoft Entra ID (previously Azure AD) Plugin has an open redirect vulnerability","id":"CVE-2026-42525","kev_date_added":null,"published":"2026-04-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["Jenkins Project"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-41935/"}