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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.43% (80th 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-CONAN-RSYNC-10078634
  • published8 May 2025
  • disclosed14 Jan 2025
  • creditSimon Scannell, Pedro Gallegos, and Jasiel Spelman at Google Cloud Vulnerability Research

Introduced: 14 Jan 2025

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

How to fix?

A fix was pushed into the master branch but not yet published.

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 Base Scores

version 4.0
version 3.1