{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-1079 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-1079 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 12 Apr 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1079 and fix it if it is affected.\n\nWhat it is: CVE-2018-1079 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 12 Apr 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-1079 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-1079/ (Markdown: https://insights.sbomify.com/CVE-2018-1079/index.md)","id":"CVE-2018-1079","markdown":"https://insights.sbomify.com/CVE-2018-1079/index.md","name":"CVE-2018-1079","record":{"aliases":["DEBIAN-CVE-2018-1079","GHSA-wxjj-jh24-cx5f"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Pacemaker cluster suite","requires_auth":"high_privilege","summary":"An authenticated attacker can exploit a path traversal flaw in the pcsd REST interface to overwrite arbitrary files, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"pacemaker_command_line_interface","vendor":"clusterlabs"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"pcs before version 0.9.164 and 0.10 is vulnerable to a privilege escalation via authorized user malicious REST call. The REST interface of the pcsd service did not properly sanitize the file name from the /remote/put_file query. If the /etc/booth directory exists, an authenticated attacker with write permissions could create or overwrite arbitrary files with arbitrary data outside of the /etc/booth directory, in the context of the pcsd process.","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":"Path traversal in pcs","id":"CVE-2018-1079","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"path_traversal","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Auth bypass in pki-core","id":"CVE-2018-1080"},"packages":[],"prev":{"headline":"Business logic in OpenDayLight","id":"CVE-2018-1078"},"products":["pcs"],"published":"2018-04-12","related":[{"cvss_score":4.3,"headline":"Information disclosure in pcs","id":"CVE-2018-1086","kev_date_added":null,"published":"2018-04-12"}],"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-05","vendors":["unspecified"]},"summary":"An authenticated attacker can exploit a path traversal flaw in the pcsd REST interface to overwrite arbitrary files, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2018-1079/"}