{"answers":{"affected":"2 open source packages ship an affected version, including io.jenkins.plugins:bitbucket-push-and-pull-request. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-41937 in the wild and no public exploit code.","fix":"Upgrade io.jenkins.plugins:bitbucket-push-and-pull-request to 2.8.4 or later.","what":"CVE-2023-41937 is a high-severity server-side request forgery vulnerability in Jenkins Bitbucket Push and Pull Request Plugin, published on 6 Sep 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-41937 and fix it if it is affected.\n\nWhat it is: CVE-2023-41937 is a high-severity server-side request forgery vulnerability in Jenkins Bitbucket Push and Pull Request Plugin, published on 6 Sep 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-41937 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.jenkins.plugins:bitbucket-push-and-pull-request (Maven): affected from 2.4.0; fixed in 2.8.4\n- io.jenkins.plugins:bitbucket-push-and-pull-request (Maven): affected from 2.4.0; fixed in 2.8.4\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-41937/ (Markdown: https://insights.sbomify.com/CVE-2023-41937/index.md)","id":"CVE-2023-41937","markdown":"https://insights.sbomify.com/CVE-2023-41937/index.md","name":"CVE-2023-41937","record":{"aliases":["GHSA-vrpg-c7c4-8mpx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Bitbucket plugin","requires_auth":"none","summary":"Attackers can capture stored Bitbucket credentials by sending crafted webhook payloads to the Jenkins plugin, which connects to attacker-controlled URLs.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"bitbucket_push_and_pull_request","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-918","name":"Server-Side Request Forgery"}],"description":"Jenkins Bitbucket Push and Pull Request Plugin 2.4.0 through 2.8.3 (both inclusive) trusts values provided in the webhook payload, including certain URLs, and uses configured Bitbucket credentials to connect to those URLs, allowing attackers to capture Bitbucket credentials stored in Jenkins by sending a crafted webhook payload.","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":"SSRF vulnerability in Jenkins Bitbucket Push and Pull Request Plugin allows capturing credentials","id":"CVE-2023-41937","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"CSRF vulnerability in Jenkins Ivy Plugin","id":"CVE-2023-41938"},"packages":[{"ecosystem":"Maven","fixed":["2.8.4"],"introduced":["2.4.0"],"last_affected":[],"package":"io.jenkins.plugins:bitbucket-push-and-pull-request","purl":null,"source":"GHSA-vrpg-c7c4-8mpx"},{"ecosystem":"Maven","fixed":["2.8.4"],"introduced":["2.4.0"],"last_affected":[],"package":"io.jenkins.plugins:bitbucket-push-and-pull-request","purl":"pkg:maven/io.jenkins.plugins/bitbucket-push-and-pull-request","source":"GHSA-vrpg-c7c4-8mpx"}],"prev":{"headline":"Jenkins Google Login Plugin non-constant time token comparison","id":"CVE-2023-41936"},"products":["Jenkins Bitbucket Push and Pull Request Plugin"],"published":"2023-09-06","related":[{"cvss_score":4.8,"headline":"Jenkins Bitbucket Push and Pull Request Plugin unconditionally disables SSL/TLS certificate validation","id":"CVE-2026-57289","kev_date_added":null,"published":"2026-06-24"}],"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":"Attackers can capture stored Bitbucket credentials by sending crafted webhook payloads to the Jenkins plugin, which connects to attacker-controlled URLs.","url":"https://insights.sbomify.com/CVE-2023-41937/"}