{"answers":{"affected":"5 open source packages ship an affected version, including salt.","exploited":"There is no known exploitation of CVE-2024-22232 in the wild and no public exploit code.","fix":"Upgrade salt to a fixed version for your release line: 3005.5 or 3006.6.","what":"CVE-2024-22232 is a high-severity path traversal vulnerability in VMware Salt Project, published on 27 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-22232 and fix it if it is affected.\n\nWhat it is: CVE-2024-22232 is a high-severity path traversal vulnerability in VMware Salt Project, published on 27 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-22232 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- salt (PyPI): affected all versions; fixed in 3005.5, 3006.6\n- salt (PyPI): affected all versions; fixed in 3005.5\n- salt (PyPI): affected all versions; fixed in 3005.5\n- salt (PyPI): affected from 3006.0; fixed in 3006.6\n- salt (PyPI): affected from 3006.0; fixed in 3006.6\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-22232/ (Markdown: https://insights.sbomify.com/CVE-2024-22232/index.md)","id":"CVE-2024-22232","markdown":"https://insights.sbomify.com/CVE-2024-22232/index.md","name":"CVE-2024-22232","record":{"aliases":["GHSA-2qw3-2wv6-p64x","PYSEC-2026-1891","UBUNTU-CVE-2024-22232"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Salt Project","requires_auth":"low_privilege","summary":"A malicious user can read arbitrary files from the Salt master filesystem via a crafted URL, requiring an upgrade to mitigate.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A specially crafted url can be created which leads to a directory traversal in the salt file server.\nA malicious user can read an arbitrary file from a Salt master’s filesystem.","ecosystems":["PyPI"],"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":"Specially crafted url can be created which leads to a directory traversal in the salt file server","id":"CVE-2024-22232","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"CVE-2024-22233: Spring Framework server Web DoS Vulnerability","id":"CVE-2024-22233"},"packages":[{"ecosystem":"PyPI","fixed":["3005.5","3006.6"],"introduced":["0","3006.0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"PYSEC-2026-1891"},{"ecosystem":"PyPI","fixed":["3005.5"],"introduced":["0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-2qw3-2wv6-p64x"},{"ecosystem":"PyPI","fixed":["3005.5"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-2qw3-2wv6-p64x"},{"ecosystem":"PyPI","fixed":["3006.6"],"introduced":["3006.0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-2qw3-2wv6-p64x"},{"ecosystem":"PyPI","fixed":["3006.6"],"introduced":["3006.0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-2qw3-2wv6-p64x"}],"prev":{"headline":"Syndic cache directory creation is vulnerable to a directory traversal attack","id":"CVE-2024-22231"},"products":["Salt Project"],"published":"2024-06-27","related":[],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"2024-11-05","vendors":["VMware"]},"summary":"A malicious user can read arbitrary files from the Salt master filesystem via a crafted URL, requiring an upgrade to mitigate.","url":"https://insights.sbomify.com/CVE-2024-22232/"}