Directory Traversal Affecting rsync package, versions <0:3.0.6-12.17.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-AMZN201803-RSYNC-8643009
  • published17 Jan 2025
  • disclosed14 Jan 2025

Introduced: 14 Jan 2025

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

How to fix?

Upgrade Amazon-Linux:2018.03 rsync to version 0:3.0.6-12.17.amzn1 or higher.
This issue was patched in ALAS-2025-1955.

NVD Description

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

A flaw was found in rsync. When using the --safe-links option, rsync fails to properly verify if a symbolic link destination 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 Scores

version 3.1