{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2019-14868 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2019-14868 is a high-severity command injection vulnerability in Apple Mac Os X, published on 2 Apr 2020. 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-2019-14868 and fix it if it is affected.\n\nWhat it is: CVE-2019-14868 is a high-severity command injection vulnerability in Apple Mac Os X, published on 2 Apr 2020. 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-2019-14868 in the wild and no public exploit code.\n\nAffected product: Apple Mac Os X. 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-2019-14868/ (Markdown: https://insights.sbomify.com/CVE-2019-14868/index.md)","id":"CVE-2019-14868","markdown":"https://insights.sbomify.com/CVE-2019-14868/index.md","name":"CVE-2019-14868","record":{"aliases":["DEBIAN-CVE-2019-14868","DLA-2284-1","GHSA-2x84-7422-962r","MGASA-2021-0141","RHSA-2020:0431","RHSA-2020:0515","RHSA-2020:0559","RHSA-2020:0568","RHSA-2020:1332","RHSA-2020:1333","RHSA-2020:2210","RHSA-2020:5351","RHSA-2020:5352","SUSE-SU-2024:2756-1","UBUNTU-CVE-2019-14868","openSUSE-SU-2024:14252-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"KornShell","requires_auth":"none","summary":"An attacker can execute arbitrary shell commands by manipulating environment variables in KornShell, potentially compromising systems running vulnerable versions.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"ksh","vendor":"ksh_project"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"In ksh version 20120801, a flaw was found in the way it evaluates certain environment variables. An attacker could use this flaw to override or bypass environment restrictions to execute shell commands. Services and applications that allow remote unauthenticated attackers to provide one of those environment variables could allow them to exploit this issue remotely.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_aus:7.2::server","Red Hat:rhel_aus:7.3::server","Red Hat:rhel_aus:7.4::server","Red Hat:rhel_e4s:7.4::server","Red Hat:rhel_e4s:8.0::appstream","Red Hat:rhel_eus:7.5::computenode","Red Hat:rhel_eus:7.5::server","Red Hat:rhel_eus:7.6::computenode","Red Hat:rhel_eus:7.6::server","Red Hat:rhel_tus:7.4::server","SUSE:Linux Enterprise Module for Legacy 12","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Tumbleweed"],"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 ksh","id":"CVE-2019-14868","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","debian:debian_linux"],"type":"command_injection","year":"2019"},"n_packages":43,"n_references":5,"next":{"headline":"Security feature bypass in ghostscript","id":"CVE-2019-14869"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:20120801-38.el6_10"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0515"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:20120801-140.el7_7"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0568"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20120801-253.el8_1"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0559"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20120801-253.el8_1"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0559"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20120801-253.el8_1"],"introduced":["0"],"last_affected":[],"package":"ksh-debugsource","purl":"pkg:rpm/redhat/ksh-debugsource","source":"RHSA-2020:0559"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:20120801-26.el7_2"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:5352"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:20120801-26.el7_2"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:5352"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:20120801-27.el7_3"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:5351"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:20120801-27.el7_3"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:5351"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:2210"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:2210"},{"ecosystem":"Red Hat:rhel_e4s:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:2210"},{"ecosystem":"Red Hat:rhel_e4s:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:2210"},{"ecosystem":"Red Hat:rhel_e4s:8.0::appstream","fixed":["0:20120801-253.el8_0"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:0431"},{"ecosystem":"Red Hat:rhel_e4s:8.0::appstream","fixed":["0:20120801-253.el8_0"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:0431"},{"ecosystem":"Red Hat:rhel_e4s:8.0::appstream","fixed":["0:20120801-253.el8_0"],"introduced":["0"],"last_affected":[],"package":"ksh-debugsource","purl":"pkg:rpm/redhat/ksh-debugsource","source":"RHSA-2020:0431"},{"ecosystem":"Red Hat:rhel_eus:7.5::computenode","fixed":["0:20120801-138.el7_5"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:1332"},{"ecosystem":"Red Hat:rhel_eus:7.5::computenode","fixed":["0:20120801-138.el7_5"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:1332"},{"ecosystem":"Red Hat:rhel_eus:7.5::server","fixed":["0:20120801-138.el7_5"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:1332"},{"ecosystem":"Red Hat:rhel_eus:7.5::server","fixed":["0:20120801-138.el7_5"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:1332"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:20120801-140.el7_6"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:1333"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:20120801-140.el7_6"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:1333"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:20120801-140.el7_6"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:1333"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:20120801-140.el7_6"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:1333"},{"ecosystem":"Red Hat:rhel_tus:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh","purl":"pkg:rpm/redhat/ksh","source":"RHSA-2020:2210"},{"ecosystem":"Red Hat:rhel_tus:7.4::server","fixed":["0:20120801-36.el7_4"],"introduced":["0"],"last_affected":[],"package":"ksh-debuginfo","purl":"pkg:rpm/redhat/ksh-debuginfo","source":"RHSA-2020:2210"}],"prev":{"headline":"Code injection in FreeIPA","id":"CVE-2019-14867"},"products":["ksh"],"published":"2020-04-02","related":[{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-7169","kev_date_added":"2022-01-28","published":"2014-09-25"},{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-6271","kev_date_added":"2022-01-28","published":"2014-09-24"},{"cvss_score":9.8,"headline":"PHP-CGI Query String Parameter","id":"CVE-2012-1823","kev_date_added":"2022-03-25","published":"2012-05-11"},{"cvss_score":7.8,"headline":"Apple macOS Unspecified","id":"CVE-2021-30713","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple macOS Use-After-Free","id":"CVE-2019-8526","kev_date_added":"2023-04-17","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple OS X Authentication Bypass","id":"CVE-2015-1130","kev_date_added":"2022-02-10","published":"2015-04-10"},{"cvss_score":5.5,"headline":"Apple macOS Out-of-Bounds Read","id":"CVE-2022-22674","kev_date_added":"2022-04-04","published":"2022-05-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":["KornShell"]},"summary":"An attacker can execute arbitrary shell commands by manipulating environment variables in KornShell, potentially compromising systems running vulnerable versions.","url":"https://insights.sbomify.com/CVE-2019-14868/"}