{"answers":{"affected":"5 open source packages ship an affected version, including salt. It affects 6 products.","exploited":"Yes. Attackers have exploited CVE-2020-11652 in the wild since at least 3 Nov 2021.","fix":"Upgrade salt to a fixed version for your release line: 2019.2.4 or 3000.2. US federal agencies must fix it by 3 May 2022.","what":"CVE-2020-11652 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 30 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-11652 and fix it if it is affected.\n\nWhat it is: CVE-2020-11652 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 30 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-11652 in the wild since at least 3 Nov 2021.\n\nAffected packages and fixed versions:\n- salt (PyPI): affected all versions; fixed in 2019.2.4, 3000.2\n- salt (PyPI): affected all versions; fixed in 2019.2.4\n- salt (PyPI): affected all versions; fixed in 2019.2.4\n- salt (PyPI): affected from 3000; fixed in 3000.2\n- salt (PyPI): affected from 3000; fixed in 3000.2\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-2020-11652/ (Markdown: https://insights.sbomify.com/CVE-2020-11652/index.md)","id":"CVE-2020-11652","markdown":"https://insights.sbomify.com/CVE-2020-11652/index.md","name":"CVE-2020-11652","record":{"aliases":["GHSA-vp49-2g4r-m3x3","PYSEC-2020-103","UBUNTU-CVE-2020-11652"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SaltStack configuration management","requires_auth":"low_privilege","summary":"Authenticated users can exploit improper path sanitization in SaltStack Salt to access arbitrary directories on the master server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"workspaces_server","vendor":"blackberry"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"leap","vendor":"opensuse"},{"product":"salt","vendor":"saltstack"},{"product":"application_remote_collector","vendor":"vmware"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods allow arbitrary directory access to authenticated users.","ecosystems":["PyPI"],"exploits":{"exploitdb":1,"first_seen":"2020-04-30","github_poc":3,"max_poc_stars":5,"metasploit":2,"nuclei":0,"refs":[{"date":"2020-12-25T02:58:35Z","kind":"github_poc","ref":"https://github.com/Al1ex/CVE-2020-11652","stars":5,"title":"CVE-2020-11652 \u0026 CVE-2020-11651"},{"date":"2024-01-17T04:15:16Z","kind":"github_poc","ref":"https://github.com/limon768/CVE-2020-11652-POC","stars":4,"title":"This is a fix POC CVE-2020-11651 \u0026 CVE-2020-11651"},{"date":"2020-04-30","kind":"metasploit","ref":"auxiliary/gather/saltstack_salt_root_key","stars":null,"title":"SaltStack Salt Master Server Root Key Disclosure"},{"date":"2020-04-30","kind":"metasploit","ref":"exploit/linux/misc/saltstack_salt_unauth_rce","stars":null,"title":"SaltStack Salt Master/Minion Unauthenticated RCE"},{"date":"2020-05-05","kind":"exploitdb","ref":"48421","stars":null,"title":"Saltstack 3000.1 - Remote Code Execution"},{"date":"2020-05-22T07:56:32Z","kind":"github_poc","ref":"https://github.com/fanjq99/CVE-2020-11652","stars":0,"title":"saltstack CVE-2020-11652 "}],"tier":"exploited"},"has_fix":true,"headline":"SaltStack Salt Path Traversal","id":"CVE-2020-11652","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"Salt","requiredAction":"Apply updates per vendor instructions.","vendorProject":"SaltStack","vulnerabilityName":"SaltStack Salt Path Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":"PyPI","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","opensuse:leap","saltstack:salt"],"type":"path_traversal","year":"2020"},"n_packages":5,"n_references":12,"next":{"headline":"Denial of service in n/a","id":"CVE-2020-11653"},"packages":[{"ecosystem":"PyPI","fixed":["2019.2.4","3000.2"],"introduced":["0","3000"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"PYSEC-2020-103"},{"ecosystem":"PyPI","fixed":["2019.2.4"],"introduced":["0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-vp49-2g4r-m3x3"},{"ecosystem":"PyPI","fixed":["2019.2.4"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-vp49-2g4r-m3x3"},{"ecosystem":"PyPI","fixed":["3000.2"],"introduced":["3000"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-vp49-2g4r-m3x3"},{"ecosystem":"PyPI","fixed":["3000.2"],"introduced":["3000"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-vp49-2g4r-m3x3"}],"prev":{"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651"},"products":["n/a"],"published":"2020-04-30","related":[{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2021-22155","kev_date_added":null,"published":"2021-05-12"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Authenticated users can exploit improper path sanitization in SaltStack Salt to access arbitrary directories on the master server.","url":"https://insights.sbomify.com/CVE-2020-11652/"}