yum-utils: reposync: improper path validation may lead to directory traversal
Published Aug 1, 2018
8.1
HIGHCVSS 3.1
EPSS 5.64%
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
-
- Version 1.1.31StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The RPM Project | Yum-Utils: | n/a |
|
Configuration 2
- 4.0
- 6.0
- 7.0
- 6.0
- 7.0
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
yum-utils-0:1.1.30-42.el6_10
Fixed · RHSA-2018:2284
Red Hat Enterprise Linux 7
yum-utils-0:1.1.31-46.el7_5
Fixed · RHSA-2018:2285
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
imgbased-0:1.0.24-1.el7ev
Fixed · RHSA-2018:2626
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-release-virtualization-host-0:4.2-6.0.el7
Fixed · RHSA-2018:2626
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-virtualization-host-0:4.2-20180828.2.el7_5
Fixed · RHSA-2018:2626
Red Hat Enterprise Linux 5
yum-utils
Will not fix
Red Hat Enterprise Linux 8
dnf-plugins-core
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | yum-utils-0:1.1.30-42.el6_10 | Fixed | RHSA-2018:2284 |
| Red Hat Enterprise Linux 7 | yum-utils-0:1.1.31-46.el7_5 | Fixed | RHSA-2018:2285 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | imgbased-0:1.0.24-1.el7ev | Fixed | RHSA-2018:2626 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-release-virtualization-host-0:4.2-6.0.el7 | Fixed | RHSA-2018:2626 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-virtualization-host-0:4.2-20180828.2.el7_5 | Fixed | RHSA-2018:2626 |
| Red Hat Enterprise Linux 5 | yum-utils | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | dnf-plugins-core | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
References (14)
- http://www.securitytracker.com/id/1041594 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2284 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2285 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2626 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-10897 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1600221 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-2956 Advisory
- https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/rpm-software-management/yum-utils/pull/43 x_refsource_CONFIRMThird Party Advisory
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-10897
- https://www.cve.org/CVERecord?id=CVE-2018-10897
Change history (0)
No recorded changes yet.