Directory Traversal Affecting rsync-daemon package, versions <0:3.1.3-21.el8_10


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (19th 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 IDSNYK-ALMALINUX8-RSYNCDAEMON-9462515
  • published18 Mar 2025
  • disclosed11 Mar 2025

Introduced: 11 Mar 2025

NewCVE-2024-12087  (opens in a new tab)
CWE-35  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 rsync-daemon to version 0:3.1.3-21.el8_10 or higher.
This issue was patched in ALSA-2025:2600.

NVD Description

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

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the --inc-recursive option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the --inc-recursive option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

CVSS Base Scores

version 3.1