Directory Traversal Affecting rsync-daemon package, versions <0:3.4.0-1.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.58% (69th 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-AMZN2023-RSYNCDAEMON-8642963
  • published17 Jan 2025
  • disclosed14 Jan 2025

Introduced: 14 Jan 2025

CVE-2024-12088  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 rsync-daemon to version 0:3.4.0-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-801.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw was found in rsync. When using the --safe-links option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

CVSS Base Scores

version 3.1