{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2018-10897 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-10897 is a high-severity path traversal vulnerability in Redhat Enterprise Linux Desktop, published on 1 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-10897 and fix it if it is affected.\n\nWhat it is: CVE-2018-10897 is a high-severity path traversal vulnerability in Redhat Enterprise Linux Desktop, published on 1 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-10897 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux Desktop. 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-10897/ (Markdown: https://insights.sbomify.com/CVE-2018-10897/index.md)","id":"CVE-2018-10897","markdown":"https://insights.sbomify.com/CVE-2018-10897/index.md","name":"CVE-2018-10897","record":{"aliases":["GHSA-48q2-62w2-89cw","RHSA-2018:2284","RHSA-2018:2285","RHSA-2018:2626"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux package manager","requires_auth":"none","summary":"Attackers controlling a repository can overwrite critical system files via path traversal in reposync, potentially leading to system compromise.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"},{"product":"yum-utils","vendor":"rpm"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote repository configuration files. If an attacker controls a repository, they may be able to copy files outside of the destination directory on the targeted system via path traversal. If reposync is running with heightened privileges on a targeted system, this flaw could potentially result in system compromise via the overwriting of critical system files. Version 1.1.31 and older are believed to be affected.","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::hypervisor","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"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 yum-utils:","id":"CVE-2018-10897","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux_desktop","products":["redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation","redhat:virtualization"],"type":"path_traversal","year":"2018"},"n_packages":226,"n_references":9,"next":{"headline":"Hardcoded credentials in openstack-tripleo-heat-templates","id":"CVE-2018-10898"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-NetworkManager-dispatcher","purl":"pkg:rpm/redhat/yum-NetworkManager-dispatcher","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-aliases","purl":"pkg:rpm/redhat/yum-plugin-aliases","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-auto-update-debug-info","purl":"pkg:rpm/redhat/yum-plugin-auto-update-debug-info","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-changelog","purl":"pkg:rpm/redhat/yum-plugin-changelog","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-fastestmirror","purl":"pkg:rpm/redhat/yum-plugin-fastestmirror","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-filter-data","purl":"pkg:rpm/redhat/yum-plugin-filter-data","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-fs-snapshot","purl":"pkg:rpm/redhat/yum-plugin-fs-snapshot","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-keys","purl":"pkg:rpm/redhat/yum-plugin-keys","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-list-data","purl":"pkg:rpm/redhat/yum-plugin-list-data","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-local","purl":"pkg:rpm/redhat/yum-plugin-local","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-merge-conf","purl":"pkg:rpm/redhat/yum-plugin-merge-conf","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-ovl","purl":"pkg:rpm/redhat/yum-plugin-ovl","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-post-transaction-actions","purl":"pkg:rpm/redhat/yum-plugin-post-transaction-actions","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-priorities","purl":"pkg:rpm/redhat/yum-plugin-priorities","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-protectbase","purl":"pkg:rpm/redhat/yum-plugin-protectbase","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-ps","purl":"pkg:rpm/redhat/yum-plugin-ps","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-remove-with-leaves","purl":"pkg:rpm/redhat/yum-plugin-remove-with-leaves","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-rpm-warm-cache","purl":"pkg:rpm/redhat/yum-plugin-rpm-warm-cache","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-security","purl":"pkg:rpm/redhat/yum-plugin-security","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-show-leaves","purl":"pkg:rpm/redhat/yum-plugin-show-leaves","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-tmprepo","purl":"pkg:rpm/redhat/yum-plugin-tmprepo","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-tsflags","purl":"pkg:rpm/redhat/yum-plugin-tsflags","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-upgrade-helper","purl":"pkg:rpm/redhat/yum-plugin-upgrade-helper","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-verify","purl":"pkg:rpm/redhat/yum-plugin-verify","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-versionlock","purl":"pkg:rpm/redhat/yum-plugin-versionlock","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-updateonboot","purl":"pkg:rpm/redhat/yum-updateonboot","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-utils","purl":"pkg:rpm/redhat/yum-utils","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-NetworkManager-dispatcher","purl":"pkg:rpm/redhat/yum-NetworkManager-dispatcher","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-aliases","purl":"pkg:rpm/redhat/yum-plugin-aliases","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-auto-update-debug-info","purl":"pkg:rpm/redhat/yum-plugin-auto-update-debug-info","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-changelog","purl":"pkg:rpm/redhat/yum-plugin-changelog","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-fastestmirror","purl":"pkg:rpm/redhat/yum-plugin-fastestmirror","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-filter-data","purl":"pkg:rpm/redhat/yum-plugin-filter-data","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-fs-snapshot","purl":"pkg:rpm/redhat/yum-plugin-fs-snapshot","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-keys","purl":"pkg:rpm/redhat/yum-plugin-keys","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-list-data","purl":"pkg:rpm/redhat/yum-plugin-list-data","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-local","purl":"pkg:rpm/redhat/yum-plugin-local","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-merge-conf","purl":"pkg:rpm/redhat/yum-plugin-merge-conf","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-ovl","purl":"pkg:rpm/redhat/yum-plugin-ovl","source":"RHSA-2018:2284"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.1.30-42.el6_10"],"introduced":["0"],"last_affected":[],"package":"yum-plugin-post-transaction-actions","purl":"pkg:rpm/redhat/yum-plugin-post-transaction-actions","source":"RHSA-2018:2284"}],"prev":{"headline":"Misconfiguration in cloud-init","id":"CVE-2018-10896"},"products":["yum-utils:"],"published":"2018-08-01","related":[{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2016-5405","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-7050","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2014-8241","kev_date_added":null,"published":"2016-12-14"},{"cvss_score":9.4,"headline":"Denial of service in n/a","id":"CVE-2014-8567","kev_date_added":null,"published":"2014-11-14"},{"cvss_score":7.8,"headline":"Memory corruption in UnZip","id":"CVE-2014-8139","kev_date_added":null,"published":"2020-01-31"},{"cvss_score":7.8,"headline":"Memory corruption in UnZip","id":"CVE-2014-8140","kev_date_added":null,"published":"2020-01-31"}],"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":["The RPM Project"]},"summary":"Attackers controlling a repository can overwrite critical system files via path traversal in reposync, potentially leading to system compromise.","url":"https://insights.sbomify.com/CVE-2018-10897/"}