Out-of-Bounds Read Affecting rsync package, versions [0,3.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-RSYNC-8627598
  • published15 Jan 2025
  • disclosed14 Jan 2025
  • creditSimon Scannell, Pedro Gallegos, and Jasiel Spelman at Google Cloud Vulnerability Research

Introduced: 14 Jan 2025

NewCVE-2024-12085  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade rsync to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds Read when rsync compares file checksums.

An anonymous client can leverage this overflow, together with the heap-based buffer overflow described in CVE-2024-12084 to execute code on an affected server.

Alternatively, a malicious rsync server could gain read/write access to arbitrary files on a connected client.

Workaround

This vulnerability can be avoided by compiling with -ftrivial-auto-var-init=zero.

CVSS Scores

version 4.0
version 3.1