{"answers":{"affected":"2 open source packages ship an affected version, including org.jenkins-ci.plugins:pipeline-utility-steps. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32981 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.plugins:pipeline-utility-steps to 2.15.3 or later.","what":"CVE-2023-32981 is a high-severity path traversal vulnerability in Jenkins Pipeline Utility Steps Plugin, published on 16 May 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-32981 and fix it if it is affected.\n\nWhat it is: CVE-2023-32981 is a high-severity path traversal vulnerability in Jenkins Pipeline Utility Steps Plugin, published on 16 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-32981 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:pipeline-utility-steps (Maven): affected all versions; fixed in 2.15.3\n- org.jenkins-ci.plugins:pipeline-utility-steps (Maven): affected all versions; fixed in 2.15.3\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-32981/ (Markdown: https://insights.sbomify.com/CVE-2023-32981/index.md)","id":"CVE-2023-32981","markdown":"https://insights.sbomify.com/CVE-2023-32981/index.md","name":"CVE-2023-32981","record":{"aliases":["GHSA-6987-xccv-fhjp"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Pipeline Plugin","requires_auth":"low_privilege","summary":"Attackers can write arbitrary files to the agent file system via crafted archives, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"pipeline_utility_steps","vendor":"jenkins"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"An arbitrary file write vulnerability in Jenkins Pipeline Utility Steps Plugin 2.15.2 and earlier allows attackers able to provide crafted archives as parameters to create or replace arbitrary files on the agent file system with attacker-specified content.","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 Pipeline Utility Steps Plugin arbitrary file write vulnerability","id":"CVE-2023-32981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"Jenkins Ansible Plugin stores and displays secrets in plain text","id":"CVE-2023-32982"},"packages":[{"ecosystem":"Maven","fixed":["2.15.3"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:pipeline-utility-steps","purl":null,"source":"GHSA-6987-xccv-fhjp"},{"ecosystem":"Maven","fixed":["2.15.3"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:pipeline-utility-steps","purl":"pkg:maven/org.jenkins-ci.plugins/pipeline-utility-steps","source":"GHSA-6987-xccv-fhjp"}],"prev":{"headline":"Jenkins Email Extension Plugin Cross-Site Request Forgery vulnerability","id":"CVE-2023-32980"},"products":["Jenkins Pipeline Utility Steps Plugin"],"published":"2023-05-16","related":[{"cvss_score":8.1,"headline":"Arbitrary file read vulnerability in Jenkins Pipeline Utility Steps Plugin","id":"CVE-2022-45381","kev_date_added":null,"published":"2022-11-15"}],"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":"total"},"state":"PUBLISHED","updated":"2025-01-23","vendors":["Jenkins Project"]},"summary":"Attackers can write arbitrary files to the agent file system via crafted archives, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2023-32981/"}