Directory Traversal Affecting rsync package, versions <0:3.1.2-11.el7_9


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.1% (43rd 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-RSYNC-2968879
  • published2 Aug 2022
  • disclosed2 Aug 2022

Introduced: 2 Aug 2022

CVE-2022-29154  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Centos:7 rsync to version 0:3.1.2-11.el7_9 or higher.

NVD Description

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

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).

CVSS Scores

version 3.1