Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-10897

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10897
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:21 UTC · Revision 1

Source evidence

CVE-2018-10897

core-osv · Original source

Published 1 Aug 2018, 17:29 UTC

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.

osv:CVE-2018-10897
Complete source record
{
  "id": "696bde85d93314db00967181ee6a6e97a6a8b2d3af4f428ad06321f2cbbeecb9",
  "url": "https://osv.dev/vulnerability/CVE-2018-10897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10897",
    "summary": "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.",
    "evidence": "osv:CVE-2018-10897",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-10897",
      "aliases": [
        "CVE-2018-10897"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rpm-software-management/yum-utils",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6a8de061f8fdc885e74ebe8c94625bf53643b71c"
                },
                {
                  "fixed": "7554c0133eb830a71dc01846037cc047d0acbc2c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "6a8de061f8fdc885e74ebe8c94625bf53643b71c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7554c0133eb830a71dc01846037cc047d0acbc2c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10897.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:16.868548458Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:2284",
        "https://access.redhat.com/errata/RHSA-2018:2285",
        "https://access.redhat.com/errata/RHSA-2018:2626",
        "https://github.com/rpm-software-management/yum-utils/pull/43",
        "https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897",
        "https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c",
        "https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:rpm:yum-utils:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "rpm:yum-utils",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.1.31"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_desktop",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_workstation",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.1.31"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-10897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381478,
  "published_at": "2018-08-01T17:29:00.457+00:00"
}