Time-of-check Time-of-use (TOCTOU) Affecting rsync-debuginfo package, versions <0:3.5.1-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (3rd 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-AMZN2023-RSYNCDEBUGINFO-20246159
  • published29 Sept 2026
  • disclosed20 May 2026

Introduced: 20 May 2026

CVE-2026-29518  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 rsync-debuginfo to version 0:3.5.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3131.

NVD Description

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

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.

CVSS Base Scores

version 3.1