{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-14866 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-14866 is a medium-severity path traversal vulnerability in Redhat Enterprise Linux, published on 7 Jan 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-14866 and fix it if it is affected.\n\nWhat it is: CVE-2019-14866 is a medium-severity path traversal vulnerability in Redhat Enterprise Linux, published on 7 Jan 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-14866 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. 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-14866/ (Markdown: https://insights.sbomify.com/CVE-2019-14866/index.md)","id":"CVE-2019-14866","markdown":"https://insights.sbomify.com/CVE-2019-14866/index.md","name":"CVE-2019-14866","record":{"aliases":["CLEANSTART-2024-VM66641","DEBIAN-CVE-2019-14866","DLA-1981-1","GHSA-g3pr-277r-xcx7","RHSA-2020:3908","RHSA-2021:1582","RHSA-2022:0073","RLSA-2021:1582","SUSE-SU-2019:3059-1","SUSE-SU-2019:3064-1","UBUNTU-CVE-2019-14866","USN-4176-1","openSUSE-SU-2019:2593-1","openSUSE-SU-2019:2596-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"cpio archive utility","requires_auth":"low_privilege","summary":"An attacker can craft malicious input to cpio to create TAR archives with unauthorized permissions or paths, leading to system compromise when extracted by a privileged user.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cpio","vendor":"gnu"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.","ecosystems":["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::baseos","Red Hat:rhel_eus:8.2::baseos","Rocky Linux:8","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","openSUSE:Leap 15.0","openSUSE:Leap 15.1"],"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":"Path traversal in cpio","id":"CVE-2019-14866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"path_traversal","year":"2019"},"n_packages":24,"n_references":4,"next":{"headline":"Code injection in FreeIPA","id":"CVE-2019-14867"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.11-28.el7"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2020:3908"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.12-10.el8"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2021:1582"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.12-10.el8"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2021:1582"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.12-10.el8"],"introduced":["0"],"last_affected":[],"package":"cpio-debugsource","purl":"pkg:rpm/redhat/cpio-debugsource","source":"RHSA-2021:1582"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:2.12-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2022:0073"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:2.12-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cpio-debuginfo","purl":"pkg:rpm/redhat/cpio-debuginfo","source":"RHSA-2022:0073"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:2.12-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"cpio-debugsource","purl":"pkg:rpm/redhat/cpio-debugsource","source":"RHSA-2022:0073"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.12-10.el8"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/rocky-linux/cpio?distro=rocky-linux-8-4-legacy\u0026epoch=0","source":"RLSA-2021:1582"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","fixed":["2.11-36.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4","source":"SUSE-SU-2019:3064-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["2.12-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:3059-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP1","fixed":["2.12-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1","source":"SUSE-SU-2019:3059-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["2.11-36.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2019:3064-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.11-36.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2019:3064-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["2.11-36.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2019:3064-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.11-36.6.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/suse/cpio\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2019:3064-1"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["2.12-lp150.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:2593-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["2.12-lp151.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/opensuse/cpio\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2019:2596-1"}],"prev":{"headline":"Denial of service in grub2","id":"CVE-2019-14865"},"products":["cpio"],"published":"2020-01-07","related":[{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2021-38185","kev_date_added":null,"published":"2021-08-07"},{"cvss_score":7.2,"headline":"Path traversal in n/a","id":"CVE-2010-4226","kev_date_added":null,"published":"2014-02-06"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2010-0624","kev_date_added":null,"published":"2010-03-12"},{"cvss_score":5.3,"headline":"Cpio: extraction allows symlinks which enables remote command execution","id":"CVE-2023-7216","kev_date_added":null,"published":"2024-02-05"},{"cvss_score":4.9,"headline":"Path traversal in Debian cpio","id":"CVE-2023-7207","kev_date_added":null,"published":"2024-01-05"},{"cvss_score":4.6,"headline":"Path traversal in n/a","id":"CVE-2005-1229","kev_date_added":null,"published":"2005-04-22"}],"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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"2025-02-13","vendors":["Red Hat"]},"summary":"An attacker can craft malicious input to cpio to create TAR archives with unauthorized permissions or paths, leading to system compromise when extracted by a privileged user.","url":"https://insights.sbomify.com/CVE-2019-14866/"}