{"answers":{"affected":"2 open source packages ship an affected version, including io.jenkins.plugins:gitlab-branch-source. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23903 in the wild and no public exploit code.","fix":"Upgrade io.jenkins.plugins:gitlab-branch-source to 688.v5fa or later.","what":"CVE-2024-23903 is a medium-severity vulnerability in Jenkins GitLab Branch Source Plugin, published on 24 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23903 and fix it if it is affected.\n\nWhat it is: CVE-2024-23903 is a medium-severity vulnerability in Jenkins GitLab Branch Source Plugin, published on 24 Jan 2024. 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-2024-23903 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.jenkins.plugins:gitlab-branch-source (Maven): affected all versions; fixed in 688.v5fa\n- io.jenkins.plugins:gitlab-branch-source (Maven): affected all versions; fixed in 688.v5fa\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-2024-23903/ (Markdown: https://insights.sbomify.com/CVE-2024-23903/index.md)","id":"CVE-2024-23903","markdown":"https://insights.sbomify.com/CVE-2024-23903/index.md","name":"CVE-2024-23903","record":{"aliases":["GHSA-f67f-2j6r-m4c9"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins GitLab plugin","requires_auth":"none","summary":"Attackers can statistically recover valid webhook tokens due to non-constant time comparison, bypassing authentication checks in the Jenkins GitLab Branch Source Plugin.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"github_branch_source","vendor":"jenkins"}],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"description":"Jenkins GitLab Branch Source Plugin 684.vea_fa_7c1e2fe3 and earlier uses a non-constant time comparison function when checking whether the provided and expected webhook token are equal, potentially allowing attackers to use statistical methods to obtain a valid webhook 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":"Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23903","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Arbitrary file read vulnerability in Jenkins Log Command Plugin","id":"CVE-2024-23904"},"packages":[{"ecosystem":"Maven","fixed":["688.v5fa"],"introduced":["0"],"last_affected":[],"package":"io.jenkins.plugins:gitlab-branch-source","purl":null,"source":"GHSA-f67f-2j6r-m4c9"},{"ecosystem":"Maven","fixed":["688.v5fa"],"introduced":["0"],"last_affected":[],"package":"io.jenkins.plugins:gitlab-branch-source","purl":"pkg:maven/io.jenkins.plugins/gitlab-branch-source","source":"GHSA-f67f-2j6r-m4c9"}],"prev":{"headline":"CSRF vulnerability in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23902"},"products":["Jenkins GitLab Branch Source Plugin"],"published":"2024-01-24","related":[{"cvss_score":6.5,"headline":"Shared projects are unconditionally discovered by Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23901","kev_date_added":null,"published":"2024-01-24"},{"cvss_score":6.3,"headline":"Jenkins GitHub Branch Source Plugin vulnerable to Cross-Site Request Forgery","id":"CVE-2017-1000091","kev_date_added":null,"published":"2017-10-04"},{"cvss_score":4.3,"headline":"Jenkins GitHub Branch Source Plugin has missing permission check that allows enumerating GitHub Enterprise server URLs","id":"CVE-2026-57285","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":4.3,"headline":"Jenkins GitHub Branch Source Plugin: Missing permissions check allows attackers to perform a connection test","id":"CVE-2026-42522","kev_date_added":null,"published":"2026-04-29"},{"cvss_score":4.3,"headline":"CSRF vulnerability in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23902","kev_date_added":null,"published":"2024-01-24"},{"cvss_score":4.3,"headline":"Jenkins GitHub Branch Source Plugin vulnerable to Server-Side Request Forgery","id":"CVE-2018-1000185","kev_date_added":null,"published":"2018-06-05"}],"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":"2025-02-13","vendors":["Jenkins Project"]},"summary":"Attackers can statistically recover valid webhook tokens due to non-constant time comparison, bypassing authentication checks in the Jenkins GitLab Branch Source Plugin.","url":"https://insights.sbomify.com/CVE-2024-23903/"}