{"answers":{"affected":"2 open source packages ship an affected version, including com.datapipe.jenkins.plugins:hashicorp-vault-plugin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-25197 in the wild and no public exploit code.","fix":"Upgrade com.datapipe.jenkins.plugins:hashicorp-vault-plugin to 351.vdb_f83a_1c6a_9d or later.","what":"CVE-2022-25197 is a medium-severity path traversal vulnerability in Jenkins HashiCorp Vault Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-25197 and fix it if it is affected.\n\nWhat it is: CVE-2022-25197 is a medium-severity path traversal vulnerability in Jenkins HashiCorp Vault Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-25197 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): affected all versions; fixed in 351.vdb_f83a_1c6a_9d\n- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): affected all versions; fixed in 351.vdb_f83a_1c6a_9d\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-2022-25197/ (Markdown: https://insights.sbomify.com/CVE-2022-25197/index.md)","id":"CVE-2022-25197","markdown":"https://insights.sbomify.com/CVE-2022-25197/index.md","name":"CVE-2022-25197","record":{"aliases":["GHSA-2587-w93g-63m2"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Vault Plugin","requires_auth":"low_privilege","summary":"Agent processes can read arbitrary files on the Jenkins controller file system, exposing sensitive data to attackers with agent access.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"hashicorp_vault","vendor":"jenkins"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Jenkins HashiCorp Vault Plugin 336.v182c0fbaaeb7 and earlier implements functionality that allows agent processes to read arbitrary files on the Jenkins controller file system.","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":"Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files","id":"CVE-2022-25197","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"CSRF vulnerability in Jenkins SCP publisher Plugin","id":"CVE-2022-25198"},"packages":[{"ecosystem":"Maven","fixed":["351.vdb_f83a_1c6a_9d"],"introduced":["0"],"last_affected":[],"package":"com.datapipe.jenkins.plugins:hashicorp-vault-plugin","purl":null,"source":"GHSA-2587-w93g-63m2"},{"ecosystem":"Maven","fixed":["351.vdb_f83a_1c6a_9d"],"introduced":["0"],"last_affected":[],"package":"com.datapipe.jenkins.plugins:hashicorp-vault-plugin","purl":"pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin","source":"GHSA-2587-w93g-63m2"}],"prev":{"headline":"Open redirect vulnerability in Jenkins GitLab Authentication Plugin","id":"CVE-2022-25196"},"products":["Jenkins HashiCorp Vault Plugin"],"published":"2022-02-15","related":[{"cvss_score":7.5,"headline":"Jenkins HashiCorp Vault Plugin has improper masking of credentials","id":"CVE-2023-33001","kev_date_added":null,"published":"2023-05-16"},{"cvss_score":6.5,"headline":"Jenkins HashiCorp Vault Plugin does not perform permission checks in several HTTP endpoints that perform Vault connection tests","id":"CVE-2022-36888","kev_date_added":null,"published":"2022-07-27"},{"cvss_score":6.5,"headline":"Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin","id":"CVE-2022-25186","kev_date_added":null,"published":"2022-02-15"},{"cvss_score":6.5,"headline":"Improper credentials masking in Jenkins HashiCorp Vault Plugin","id":"CVE-2022-23109","kev_date_added":null,"published":"2022-01-12"},{"cvss_score":4.3,"headline":"Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials","id":"CVE-2025-67642","kev_date_added":null,"published":"2025-12-10"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Jenkins project"]},"summary":"Agent processes can read arbitrary files on the Jenkins controller file system, exposing sensitive data to attackers with agent access.","url":"https://insights.sbomify.com/CVE-2022-25197/"}