9.3
HIGH CVSS 2.0
CVE-2018-10897
"yum-utils Reposync Directory Traversal Vulnerability"
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.

INFO

Published Date :

Aug. 1, 2018, 5:29 p.m.

Last Modified :

Nov. 21, 2024, 3:42 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-10897 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat virtualization
1 Rpm yum-utils
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
The yum-utils package has a directory traversal vulnerability; update to remediate.
  • Update the yum-utils package.
  • Install the latest available updates.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-10897.

URL Resource
http://www.securitytracker.com/id/1041594 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:2284 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2285 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2626 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897 Issue Tracking Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/pull/43 Third Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
http://www.securitytracker.com/id/1041594 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:2284 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2285 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2626 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897 Issue Tracking Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c Patch Third Party Advisory
https://github.com/rpm-software-management/yum-utils/pull/43 Third Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-10897 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-10897 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-10897 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1041594
    Added Reference https://access.redhat.com/errata/RHSA-2018:2284
    Added Reference https://access.redhat.com/errata/RHSA-2018:2285
    Added Reference https://access.redhat.com/errata/RHSA-2018:2626
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897
    Added Reference https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c
    Added Reference https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c
    Added Reference https://github.com/rpm-software-management/yum-utils/pull/43
    Added Reference https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed 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. 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.
    Removed Reference https://access.redhat.com/security/cve/CVE-2018-10897 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1600221 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-59
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. 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.
    Added Reference https://access.redhat.com/security/cve/CVE-2018-10897 [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1600221 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-59
    Removed CWE Reason CWE-59 / Assessment performed prior to CVMAP efforts
  • Modified Analysis by [email protected]

    Sep. 09, 2021

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 No Types Assigned https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
  • CPE Deprecation Remap by [email protected]

    Aug. 11, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rpm-software-management_project:yum-utils:*:*:*:*:*:*:*:* versions from (including) 1.1.31 OR *cpe:2.3:a:rpm:yum-utils:*:*:*:*:*:*:*:* versions from (including) 1.1.31
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE Red Hat, Inc. CWE-59
  • CVE Modified by [email protected]

    Nov. 30, 2018

    Action Type Old Value New Value
    Added Reference https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 16, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2284 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2284 Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c No Types Assigned https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c Patch, Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c No Types Assigned https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c Patch, Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1041594 No Types Assigned http://www.securitytracker.com/id/1041594 Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2626 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2626 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2285 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2285 Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/yum-utils/pull/43 No Types Assigned https://github.com/rpm-software-management/yum-utils/pull/43 Third Party Advisory
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:rpm-software-management_project:yum-utils:*:*:*:*:*:*:*:* versions up to (including) 1.1.31
    Added CPE Configuration OR *cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 08, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1041594 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:2626 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 03, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:2285 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:2284 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 9.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.70 }} 0.95%

score

0.87463

percentile