{"id":"CVE-2018-10897","published":"2018-08-01T17:00:00Z","modified":"2024-08-05T07:54:34Z","title":"A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in…","vendor":"The RPM Project","product":"yum-utils:","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05638,"percentile":0.93142,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"http://www.securitytracker.com/id/1041594","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2285","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2284","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2626","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897","tags":["x_refsource_CONFIRM"]},{"url":"https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rpm-software-management/yum-utils/pull/43","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":18.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"the-rpm-project","affectedVersions":[{"vendor":"The RPM Project","product":"yum-utils:","versions":["1.1.31"]}],"summary":{"text":"A directory traversal flaw exists in reposync, a component of the yum-utils product from The RPM Project, where reposync fails to sanitize paths taken from remote repository configuration files. An attacker who controls a repository can exploit this to copy files outside the intended destination directory, and if reposync runs with elevated privileges this could lead to compromise through overwriting of critical system files, though exploitation requires user interaction on the targeted system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:01:44Z"},"euvd":{"id":"EUVD-2018-2956","exploited":false,"provenance":"source"}}