{"answers":{"affected":"2 open source packages ship an affected version, including io.jenkins.plugins:tuleap-oauth. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40343 in the wild and no public exploit code.","fix":"Upgrade io.jenkins.plugins:tuleap-oauth to 1.1.21 or later.","what":"CVE-2023-40343 is a medium-severity vulnerability in Jenkins Tuleap Authentication Plugin, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40343 and fix it if it is affected.\n\nWhat it is: CVE-2023-40343 is a medium-severity vulnerability in Jenkins Tuleap Authentication Plugin, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-40343 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.jenkins.plugins:tuleap-oauth (Maven): affected all versions; fixed in 1.1.21\n- io.jenkins.plugins:tuleap-oauth (Maven): affected all versions; fixed in 1.1.21\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-40343/ (Markdown: https://insights.sbomify.com/CVE-2023-40343/index.md)","id":"CVE-2023-40343","markdown":"https://insights.sbomify.com/CVE-2023-40343/index.md","name":"CVE-2023-40343","record":{"aliases":["GHSA-5r33-mgjf-6656"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Tuleap plugin","requires_auth":"none","summary":"Attackers can bypass authentication in the Jenkins Tuleap plugin by exploiting timing side-channels to guess valid tokens, leading to account takeover.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"tuleap_authentication","vendor":"jenkins"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"Jenkins Tuleap Authentication Plugin 1.1.20 and earlier uses a non-constant time comparison function when validating an authentication token allowing attackers to use statistical methods to obtain a valid authentication token.","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":"Jenkins Tuleap Authentication Plugin non-constant time token comparison","id":"CVE-2023-40343","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Jenkins Delphix Plugin missing permission check","id":"CVE-2023-40344"},"packages":[{"ecosystem":"Maven","fixed":["1.1.21"],"introduced":["0"],"last_affected":[],"package":"io.jenkins.plugins:tuleap-oauth","purl":null,"source":"GHSA-5r33-mgjf-6656"},{"ecosystem":"Maven","fixed":["1.1.21"],"introduced":["0"],"last_affected":[],"package":"io.jenkins.plugins:tuleap-oauth","purl":"pkg:maven/io.jenkins.plugins/tuleap-oauth","source":"GHSA-5r33-mgjf-6656"}],"prev":{"headline":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","id":"CVE-2023-40342"},"products":["Jenkins Tuleap Authentication Plugin"],"published":"2023-08-16","related":[],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-08","vendors":["Jenkins Project"]},"summary":"Attackers can bypass authentication in the Jenkins Tuleap plugin by exploiting timing side-channels to guess valid tokens, leading to account takeover.","url":"https://insights.sbomify.com/CVE-2023-40343/"}