{"answers":{"affected":"3 open source packages ship an affected version, including salt. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-1866 in the wild and no public exploit code.","fix":"Upgrade salt to 2015.8.4 or later.","what":"CVE-2016-1866 is a high-severity code injection vulnerability in Opensuse Leap, published on 12 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-1866 and fix it if it is affected.\n\nWhat it is: CVE-2016-1866 is a high-severity code injection vulnerability in Opensuse Leap, published on 12 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-1866 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- salt (PyPI): affected from 2015.8; fixed in 2015.8.4\n- salt (PyPI): affected from 2015.8.0rc1; fixed in 2015.8.4\n- salt (PyPI): affected from 2015.8.0rc1; fixed in 2015.8.4\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-2016-1866/ (Markdown: https://insights.sbomify.com/CVE-2016-1866/index.md)","id":"CVE-2016-1866","markdown":"https://insights.sbomify.com/CVE-2016-1866/index.md","name":"CVE-2016-1866","record":{"aliases":["GHSA-vqh4-crjf-jjxx","PYSEC-2016-23","openSUSE-SU-2024:10291-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Salt configuration management","requires_auth":"none","summary":"Man-in-the-middle attackers can execute arbitrary code on Salt minions by inserting packets into the data stream.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"leap","vendor":"opensuse"},{"product":"salt","vendor":"saltstack"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"Salt 2015.8.x before 2015.8.4 does not properly handle clear messages on the minion, which allows man-in-the-middle attackers to execute arbitrary code by inserting packets into the minion-master data stream.","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":"Salt Improper Access Control","id":"CVE-2016-1866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"opensuse:leap","products":["opensuse:leap","saltstack:salt"],"type":"code_injection","year":"2016"},"n_packages":3,"n_references":2,"next":{"headline":"Denial of service in n/a","id":"CVE-2016-1867"},"packages":[{"ecosystem":"PyPI","fixed":["2015.8.4"],"introduced":["2015.8"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"PYSEC-2016-23"},{"ecosystem":"PyPI","fixed":["2015.8.4"],"introduced":["2015.8.0rc1"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-vqh4-crjf-jjxx"},{"ecosystem":"PyPI","fixed":["2015.8.4"],"introduced":["2015.8.0rc1"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-vqh4-crjf-jjxx"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2016-1865"},"products":["n/a"],"published":"2016-04-12","related":[{"cvss_score":5.3,"headline":"Oracle Java SE Integrity Check","id":"CVE-2015-4902","kev_date_added":"2022-03-03","published":"2015-10-21"},{"cvss_score":9.9,"headline":"package builds could use directory traversal to write outside of target area","id":"CVE-2017-14804","kev_date_added":null,"published":"2018-03-01"},{"cvss_score":9.8,"headline":"Teeworlds before 0.7.4 has an integer overflow when computing a tilemap size.","id":"CVE-2019-20787","kev_date_added":null,"published":"2020-04-22"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2019-8341","kev_date_added":null,"published":"2019-02-15"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2019-6438","kev_date_added":null,"published":"2019-01-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-18215","kev_date_added":null,"published":"2018-03-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-6542","kev_date_added":null,"published":"2017-03-27"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Man-in-the-middle attackers can execute arbitrary code on Salt minions by inserting packets into the data stream.","url":"https://insights.sbomify.com/CVE-2016-1866/"}