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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | yum-utils +27 | 1.1.31-46.amzn2.0.1 | ALAS2-2018-1063 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | yum-utils +27 | 1.1.31-46.0.1.el7_5 | ELSA-2018-2285 |
Advisories 5
- RHSA-2018:2626 Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2285 Red Hat Security Advisory: yum-utils security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2284 Red Hat Security Advisory: yum-utils security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- ALAS2-2018-1063 Important: yum-utils security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 21, 2018
- ELSA-2018-2285 Important: yum-utils security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 30, 2018
References
- 1041594 vdb-entry
- RHSA-2018:2285 vendor-advisory
- RHSA-2018:2284 vendor-advisory
- https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c
- RHSA-2018:2626 vendor-advisory
- https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- https://github.com/rpm-software-management/yum-utils/pull/43