{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-1063 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-1063 is a medium-severity path traversal vulnerability in Redhat Enterprise Linux, published on 2 Mar 2018. 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-2018-1063 and fix it if it is affected.\n\nWhat it is: CVE-2018-1063 is a medium-severity path traversal vulnerability in Redhat Enterprise Linux, published on 2 Mar 2018. 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-2018-1063 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-2018-1063/ (Markdown: https://insights.sbomify.com/CVE-2018-1063/index.md)","id":"CVE-2018-1063","markdown":"https://insights.sbomify.com/CVE-2018-1063/index.md","name":"CVE-2018-1063","record":{"aliases":["DEBIAN-CVE-2018-1063","GHSA-p5j6-rvwf-qchg","MGASA-2021-0032","RHSA-2018:0913","SUSE-SU-2018:0926-1","SUSE-SU-2018:0927-1","UBUNTU-CVE-2018-1063"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"SELinux policycoreutils","requires_auth":"low_privilege","summary":"Local attackers can exploit symbolic links during SELinux relabeling to modify file contexts, potentially bypassing security restrictions and escalating privileges.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux","vendor":"redhat"},{"product":"selinux","vendor":"selinux_project"}],"cvss":{"score":4.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Context relabeling of filesystems is vulnerable to symbolic link attack, allowing a local, unprivileged malicious entity to change the SELinux context of an arbitrary file to a context with few restrictions. This only happens when the relabeling process is done, usually when taking SELinux state from disabled to enable (permissive or enforcing). The issue was found in policycoreutils 2.5-11.","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 Server 11 SP4","SUSE:Linux Enterprise Server 12 SP2","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3"],"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 policycoreutils","id":"CVE-2018-1063","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"path_traversal","year":"2018"},"n_packages":39,"n_references":2,"next":{"headline":"Denial of service in libvirt","id":"CVE-2018-1064"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/redhat/policycoreutils","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-debuginfo","purl":"pkg:rpm/redhat/policycoreutils-debuginfo","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-devel","purl":"pkg:rpm/redhat/policycoreutils-devel","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-gui","purl":"pkg:rpm/redhat/policycoreutils-gui","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-newrole","purl":"pkg:rpm/redhat/policycoreutils-newrole","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-python","purl":"pkg:rpm/redhat/policycoreutils-python","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-restorecond","purl":"pkg:rpm/redhat/policycoreutils-restorecond","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-sandbox","purl":"pkg:rpm/redhat/policycoreutils-sandbox","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/redhat/policycoreutils","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-debuginfo","purl":"pkg:rpm/redhat/policycoreutils-debuginfo","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-devel","purl":"pkg:rpm/redhat/policycoreutils-devel","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-gui","purl":"pkg:rpm/redhat/policycoreutils-gui","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-newrole","purl":"pkg:rpm/redhat/policycoreutils-newrole","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-python","purl":"pkg:rpm/redhat/policycoreutils-python","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-restorecond","purl":"pkg:rpm/redhat/policycoreutils-restorecond","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-sandbox","purl":"pkg:rpm/redhat/policycoreutils-sandbox","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/redhat/policycoreutils","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-debuginfo","purl":"pkg:rpm/redhat/policycoreutils-debuginfo","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-devel","purl":"pkg:rpm/redhat/policycoreutils-devel","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-gui","purl":"pkg:rpm/redhat/policycoreutils-gui","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-newrole","purl":"pkg:rpm/redhat/policycoreutils-newrole","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-python","purl":"pkg:rpm/redhat/policycoreutils-python","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-restorecond","purl":"pkg:rpm/redhat/policycoreutils-restorecond","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-sandbox","purl":"pkg:rpm/redhat/policycoreutils-sandbox","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/redhat/policycoreutils","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-debuginfo","purl":"pkg:rpm/redhat/policycoreutils-debuginfo","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-devel","purl":"pkg:rpm/redhat/policycoreutils-devel","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-gui","purl":"pkg:rpm/redhat/policycoreutils-gui","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-newrole","purl":"pkg:rpm/redhat/policycoreutils-newrole","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-python","purl":"pkg:rpm/redhat/policycoreutils-python","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-restorecond","purl":"pkg:rpm/redhat/policycoreutils-restorecond","source":"RHSA-2018:0913"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.5-22.el7"],"introduced":["0"],"last_affected":[],"package":"policycoreutils-sandbox","purl":"pkg:rpm/redhat/policycoreutils-sandbox","source":"RHSA-2018:0913"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["2.0.79-4.9.3.3"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:0927-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2","fixed":["2.5-10.3.1"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2","source":"SUSE-SU-2018:0926-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.5-10.3.1"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:0926-1"},{"ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","fixed":["2.5-10.3.1"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2","source":"SUSE-SU-2018:0926-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["2.0.79-4.9.3.3"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:0927-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.5-10.3.1"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2018:0926-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["2.5-10.3.1"],"introduced":["0"],"last_affected":[],"package":"policycoreutils","purl":"pkg:rpm/suse/policycoreutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2018:0926-1"}],"prev":{"headline":"Information disclosure in oVirt","id":"CVE-2018-1062"},"products":["policycoreutils"],"published":"2018-03-02","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss RichFaces Framework Expression Language Injection","id":"CVE-2018-14667","kev_date_added":"2023-09-28","published":"2018-11-06"},{"cvss_score":9.8,"headline":"Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit","id":"CVE-2021-20325","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":9.8,"headline":"Memory corruption in libwebp","id":"CVE-2018-25011","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Other in libwebp","id":"CVE-2018-25014","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Supply chain in redhat-upgrade-tool","id":"CVE-2014-3585","kev_date_added":null,"published":"2019-11-22"},{"cvss_score":9.3,"headline":"Squid: request/response smuggling in http/1.1 and icap","id":"CVE-2023-46846","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":9.1,"headline":"Memory corruption in libwebp","id":"CVE-2018-25009","kev_date_added":null,"published":"2021-05-21"}],"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":["SELinux Project"]},"summary":"Local attackers can exploit symbolic links during SELinux relabeling to modify file contexts, potentially bypassing security restrictions and escalating privileges.","url":"https://insights.sbomify.com/CVE-2018-1063/"}