{"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-23902 in the wild and no public exploit code.","fix":"Upgrade io.jenkins.plugins:gitlab-branch-source to 688.v5fa or later.","what":"CVE-2024-23902 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, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-23902 and fix it if it is affected.\n\nWhat it is: CVE-2024-23902 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, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-23902 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-23902/ (Markdown: https://insights.sbomify.com/CVE-2024-23902/index.md)","id":"CVE-2024-23902","markdown":"https://insights.sbomify.com/CVE-2024-23902/index.md","name":"CVE-2024-23902","record":{"aliases":["GHSA-8r93-59cf-358f"],"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 force users to connect to malicious URLs via CSRF in the Jenkins GitLab Branch Source Plugin.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"github_branch_source","vendor":"jenkins"}],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"A cross-site request forgery (CSRF) vulnerability in Jenkins GitLab Branch Source Plugin 684.vea_fa_7c1e2fe3 and earlier allows attackers to connect to an attacker-specified URL.","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":"CSRF vulnerability in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23902","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"csrf","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23903"},"packages":[{"ecosystem":"Maven","fixed":["688.v5fa"],"introduced":["0"],"last_affected":[],"package":"io.jenkins.plugins:gitlab-branch-source","purl":null,"source":"GHSA-8r93-59cf-358f"},{"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-8r93-59cf-358f"}],"prev":{"headline":"Shared projects are unconditionally discovered by Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23901"},"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":5.3,"headline":"Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin","id":"CVE-2024-23903","kev_date_added":null,"published":"2024-01-24"},{"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["Jenkins Project"]},"summary":"Attackers can force users to connect to malicious URLs via CSRF in the Jenkins GitLab Branch Source Plugin.","url":"https://insights.sbomify.com/CVE-2024-23902/"}