CVE-2018-10897

Summary

CVECVE-2018-10897
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-08-01 17:29:00 UTC
Updated2023-02-13 04:51:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All
Application Redhat Virtualization 4.0 All All All
Application Redhat Virtualization 4.0 All All All
Application Rpm Yum-utils All All All All
Application Rpm-software-management Project Yum-utils All All All All

References

ReferenceSourceLinkTags
reposync: check for .. in remote paths. BZ 1506205 by dmnks · Pull Request #43 · rpm-software-management/yum-utils · GitHub CONFIRM github.com Third Party Advisory
CVE-2018-10897 - Red Hat Customer Portal MISC access.redhat.com
1600221 – (CVE-2018-10897) CVE-2018-10897 yum-utils: reposync: improper path validation may lead to directory traversal MISC bugzilla.redhat.com
Red Hat Enterprise Virtualization Path Validation Flaw in 'reposync' Lets Remote Users Modify Files on the Target System - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
DCIM Support CONFIRM help.ecostruxureit.com
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
reposync: prevent path traversal. BZ 1552328 · rpm-software-management/yum-utils@6a8de06 · GitHub CONFIRM github.com Patch, Third Party Advisory
reposync: refactor: sanitize remote_path usage · rpm-software-management/yum-utils@7554c01 · GitHub CONFIRM github.com Patch, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
1600221 – (CVE-2018-10897) CVE-2018-10897 yum-utils: reposync: improper path validation may lead to directory traversal CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report