{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2018-12015 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-12015 is a high-severity path traversal vulnerability in Apple Mac Os X, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12015 and fix it if it is affected.\n\nWhat it is: CVE-2018-12015 is a high-severity path traversal vulnerability in Apple Mac Os X, published on 7 Jun 2018. 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-2018-12015 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-2018-12015/ (Markdown: https://insights.sbomify.com/CVE-2018-12015/index.md)","id":"CVE-2018-12015","markdown":"https://insights.sbomify.com/CVE-2018-12015/index.md","name":"CVE-2018-12015","record":{"aliases":["ALPINE-CVE-2018-12015","CLEANSTART-2026-CC44025","CLSA-2026-1777878729","CLSA-2026-1777879919","DEBIAN-CVE-2018-12015","DSA-4226-1","GHSA-44r9-882w-xw5m","RHSA-2019:2097","SUSE-SU-2018:1977-1","SUSE-SU-2018:1992-1","UBUNTU-CVE-2018-12015","USN-3684-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl Archive::Tar module","requires_auth":"none","summary":"Attackers can overwrite arbitrary files by exploiting a symlink bypass in the Perl Archive::Tar module during archive extraction.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"\\","vendor":"archive\\"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"data_ontap_edge","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"snap_creator_framework","vendor":"netapp"},{"product":"snapdrive","vendor":"netapp"},{"product":"perl","vendor":"perl"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.","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","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Development Tools 15","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP3-LTSS","SUSE:Linux Enterprise Server 11 SP3-TERADATA","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Software Development Kit 11 SP4"],"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 n/a","id":"CVE-2018-12015","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","canonical:ubuntu_linux","debian:debian_linux","netapp:oncommand_workflow_automation"],"type":"path_traversal","year":"2018"},"n_packages":12,"n_references":12,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-12016"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.92-3.el7"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2019:2097"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.92-3.el7"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2019:2097"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.92-3.el7"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2019:2097"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.92-3.el7"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2019:2097"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["5.26.1-7.3.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2018:1977-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","fixed":["5.26.1-7.3.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015","source":"SUSE-SU-2018:1977-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2018:1992-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSS","source":"SUSE-SU-2018:1992-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATA","source":"SUSE-SU-2018:1992-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:1992-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:1992-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["5.10.0-64.81.13.1"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/suse/perl\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2018:1992-1"}],"prev":{"headline":"Null dereference in Android for MSM, Firefox OS for MSM, QRD Android","id":"CVE-2018-12014"},"products":["n/a"],"published":"2018-06-07","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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"Attackers can overwrite arbitrary files by exploiting a symlink bypass in the Perl Archive::Tar module during archive extraction.","url":"https://insights.sbomify.com/CVE-2018-12015/"}