Directory Traversal Affecting yum-plugin-fastestmirror package, versions <0:1.1.31-46.el7_5


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.5% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-YUMPLUGINFASTESTMIRROR-2103711
  • published26 Jul 2021
  • disclosed11 Jul 2018

Introduced: 11 Jul 2018

CVE-2018-10897  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Centos:7 yum-plugin-fastestmirror to version 0:1.1.31-46.el7_5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yum-plugin-fastestmirror package and not the yum-plugin-fastestmirror package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1