{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2016-4989 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-4989 is a high-severity command injection vulnerability in Redhat Enterprise Linux Desktop, published on 11 Apr 2017. 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-2016-4989 and fix it if it is affected.\n\nWhat it is: CVE-2016-4989 is a high-severity command injection vulnerability in Redhat Enterprise Linux Desktop, published on 11 Apr 2017. 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-2016-4989 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux Desktop. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-4989/ (Markdown: https://insights.sbomify.com/CVE-2016-4989/index.md)","id":"CVE-2016-4989","markdown":"https://insights.sbomify.com/CVE-2016-4989/index.md","name":"CVE-2016-4989","record":{"aliases":["GHSA-585r-x79p-835g"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Red Hat setroubleshoot","requires_auth":"low_privilege","summary":"Local attackers can bypass container protections and execute arbitrary commands via crafted file names or XML inputs in setroubleshoot.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_hpc_node","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"setroubleshoot","vendor":"setroubleshoot_project"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"setroubleshoot allows local users to bypass an intended container protection mechanism and execute arbitrary commands by (1) triggering an SELinux denial with a crafted file name, which is handled by the _set_tpath function in audit_data.py or via a crafted (2) local_id or (3) analysis_id field in a crafted XML document to the run_fix function in SetroubleshootFixit.py, related to the subprocess.check_output and commands.getstatusoutput functions, a different vulnerability than CVE-2016-4445.","ecosystems":[],"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":"Command injection in n/a","id":"CVE-2016-4989","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux_desktop","products":["redhat:enterprise_linux_desktop","redhat:enterprise_linux_hpc_node","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"command_injection","year":"2016"},"n_packages":0,"n_references":7,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2016-4990"},"packages":[],"prev":{"headline":"Cross-site Scripting in Jenkins Build Failure Analyzer plugin","id":"CVE-2016-4988"},"products":["n/a"],"published":"2017-04-11","related":[{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2016-5405","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-7050","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2014-8241","kev_date_added":null,"published":"2016-12-14"},{"cvss_score":9.4,"headline":"Denial of service in n/a","id":"CVE-2014-8567","kev_date_added":null,"published":"2014-11-14"},{"cvss_score":8.8,"headline":"Path traversal in yum-utils:","id":"CVE-2018-10897","kev_date_added":null,"published":"2018-08-01"},{"cvss_score":7.8,"headline":"Memory corruption in UnZip","id":"CVE-2014-8139","kev_date_added":null,"published":"2020-01-31"},{"cvss_score":7.8,"headline":"Memory corruption in UnZip","id":"CVE-2014-8140","kev_date_added":null,"published":"2020-01-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-06","vendors":["n/a"]},"summary":"Local attackers can bypass container protections and execute arbitrary commands via crafted file names or XML inputs in setroubleshoot.","url":"https://insights.sbomify.com/CVE-2016-4989/"}