Skip to content
OpenAdvisories
High · 8.8 CVE-2018-10897 EUVD-2018-2956GHSA-48q2-62w2-89cw

A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote repository configu…

Published Aug 1, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
The RPM Project yum-utils: 1.1.31 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 7 imgbased +1 1.0.24-1.el7ev RHSA-2018:2626
RHEL 7 redhat-release-virtualization-host +1 4.2-6.0.el7 RHSA-2018:2626
RHEL 7 redhat-virtualization-host +1 4.2-20180828.2.el7_5 RHSA-2018:2626
RHEL 7 yum-utils +27 1.1.31-46.el7_5 RHSA-2018:2285
RHEL 6 yum-utils +26 1.1.30-42.el6_10 RHSA-2018:2284

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 yum-utils +27 1.1.31-46.amzn2.0.1 ALAS2-2018-1063

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 yum-utils +27 1.1.31-46.0.1.el7_5 ELSA-2018-2285

Advisories 5

References