Reposync fails to sanitize paths in remote repository configuration files. If an attacker controls a repository a user is syncing with, the attacker may be able to copy files outside of the destination directory 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.
Created yum-utils tracking bugs for this issue: Affects: fedora-all [bug 1600454]
Acknowledgments: Name: Jay Grizzard (Clover Network), Aaron Levy (Clover Network)
Statement: Red Hat Enterprise Virtualization includes reposync as a component from the base Enterprise Linux system. It is not used by virtualization or management components, and it is not generally useful to mirror untrusted repositories to either Hypervisor or Management Appliance. For Red Hat Enterprise Virtualization, this issue affects only unlikely configurations and thus is rated as Moderate.
*** Bug 1552328 has been marked as a duplicate of this bug. ***
Upstream commits: https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c Upstream pull request: https://github.com/rpm-software-management/yum-utils/pull/43
Created dnf-plugins-core tracking bugs for this issue: Affects: fedora-all [bug 1609335]
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:2285 https://access.redhat.com/errata/RHSA-2018:2285
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2018:2284 https://access.redhat.com/errata/RHSA-2018:2284
This issue has been addressed in the following products: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 Via RHSA-2018:2626 https://access.redhat.com/errata/RHSA-2018:2626
dnf-plugin-core upstream patch: https://github.com/rpm-software-management/dnf-plugins-core/commit/3a2f13f93815740d3e547912f6d4072fb81f1123