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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Yum-utils | Rpm | * | 1.1.31 (including) |
Red Hat Enterprise Linux 6 | RedHat | yum-utils-0:1.1.30-42.el6_10 | * |
Red Hat Enterprise Linux 7 | RedHat | yum-utils-0:1.1.31-46.el7_5 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | imgbased-0:1.0.24-1.el7ev | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | redhat-release-virtualization-host-0:4.2-6.0.el7 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | redhat-virtualization-host-0:4.2-20180828.2.el7_5 | * |
Yum-utils | Ubuntu | artful | * |
Yum-utils | Ubuntu | cosmic | * |
Yum-utils | Ubuntu | trusty | * |
Yum-utils | Ubuntu | upstream | * |