{"answers":{"affected":"7 open source packages ship an affected version, including salt. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-22934 in the wild and no public exploit code.","fix":"Upgrade salt to a fixed version for your release line: 3002.8, 3003.4 or 3004.1.","what":"CVE-2022-22934 is a high-severity missing authorization vulnerability in Saltstack Salt, published on 29 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-22934 and fix it if it is affected.\n\nWhat it is: CVE-2022-22934 is a high-severity missing authorization vulnerability in Saltstack Salt, published on 29 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-22934 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- salt (PyPI): affected all versions; fixed in 3002.8\n- salt (PyPI): affected all versions; fixed in 3002.8\n- salt (PyPI): affected all versions; fixed in 3002.8\n- salt (PyPI): affected from 3003; fixed in 3003.4\n- salt (PyPI): affected from 3003; fixed in 3003.4\n- salt (PyPI): affected from 3004; fixed in 3004.1\n- salt (PyPI): affected from 3004; fixed in 3004.1\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-22934/ (Markdown: https://insights.sbomify.com/CVE-2022-22934/index.md)","id":"CVE-2022-22934","markdown":"https://insights.sbomify.com/CVE-2022-22934/index.md","name":"CVE-2022-22934","record":{"aliases":["GHSA-2q4g-wfm6-5fpm","PYSEC-2022-171","UBUNTU-CVE-2022-22934"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SaltStack configuration management","requires_auth":"none","summary":"Attackers can substitute arbitrary pillar data because Salt Masters do not sign it with the minion's public key, compromising configuration integrity.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"salt","vendor":"saltstack"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. Salt Masters do not sign pillar data with the minion’s public key, which can result in attackers substituting arbitrary pillar data.","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":"SaltStack Improper Verification of Cryptographic Signature","id":"CVE-2022-22934","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"saltstack:salt","products":["saltstack:salt"],"type":"missing_authorization","year":"2022"},"n_packages":7,"n_references":4,"next":{"headline":"SaltStack Salt Improper Authentication via Man in the Middle Attack","id":"CVE-2022-22935"},"packages":[{"ecosystem":"PyPI","fixed":["3002.8"],"introduced":["0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-2q4g-wfm6-5fpm"},{"ecosystem":"PyPI","fixed":["3002.8"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-2q4g-wfm6-5fpm"},{"ecosystem":"PyPI","fixed":["3002.8"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"PYSEC-2022-171"},{"ecosystem":"PyPI","fixed":["3003.4"],"introduced":["3003"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-2q4g-wfm6-5fpm"},{"ecosystem":"PyPI","fixed":["3003.4"],"introduced":["3003"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-2q4g-wfm6-5fpm"},{"ecosystem":"PyPI","fixed":["3004.1"],"introduced":["3004"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-2q4g-wfm6-5fpm"},{"ecosystem":"PyPI","fixed":["3004.1"],"introduced":["3004"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-2q4g-wfm6-5fpm"}],"prev":{"headline":"Path traversal flaws","id":"CVE-2022-22932"},"products":["SaltStack Salt"],"published":"2022-03-29","related":[{"cvss_score":10,"headline":"SaltStack insecurely uses /tmp","id":"CVE-2013-4437","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":10,"headline":"SaltStack Privilege Escalation vulnerability","id":"CVE-2013-6617","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2021-33226","kev_date_added":null,"published":"2023-02-17"},{"cvss_score":9.8,"headline":"salt-api unauthenticated remote code execution","id":"CVE-2021-25315","kev_date_added":null,"published":"2021-03-03"},{"cvss_score":9.8,"headline":"SaltStack Salt Remote command execution and incorrect access control when using salt-api","id":"CVE-2018-15751","kev_date_added":null,"published":"2018-10-24"},{"cvss_score":9.8,"headline":"SaltStack Salt allows compromised salt-minions to impersonate the salt-master","id":"CVE-2017-7893","kev_date_added":null,"published":"2018-04-23"},{"cvss_score":9.8,"headline":"SaltStack Salt Directory traversal vulnerability in minion id validation","id":"CVE-2017-14695","kev_date_added":null,"published":"2017-10-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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":["n/a"]},"summary":"Attackers can substitute arbitrary pillar data because Salt Masters do not sign it with the minion's public key, compromising configuration integrity.","url":"https://insights.sbomify.com/CVE-2022-22934/"}