Heap-based Buffer Overflow Affecting rsync package, versions *


Severity

Recommended
high

Based on Ubuntu security rating.

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-UBUNTU2410-RSYNC-8622748
  • published15 Jan 2025
  • disclosed15 Jan 2025

Introduced: 15 Jan 2025

NewCVE-2024-12084  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.10 rsync.

NVD Description

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

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.

CVSS Scores

version 3.1