Debian Security Advisory

DSA-106-2 rsync -- remote exploit

Date Reported:
26 Jan 2002
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2002-0048.
More information:
Sebastian Krahmer found several places in rsync (a popular tool to synchronise files between machines) where signed and unsigned numbers were mixed which resulted in insecure code (see This could be abused by remote users to write 0-bytes in rsync's memory and trick rsync into executing arbitrary code.

This has been fixed in version 2.3.2-1.3 and we recommend you upgrade your rsync package immediately.

Unfortunately the patch used to fix that problem broke rsync. This has been fixed in version 2.3.2-1.5 and we recommend you upgrade to that version immediately.

Fixed in:

Debian GNU/Linux 2.2 (potato)

Intel IA-32:
Motorola 680x0:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory. (DSA-106-2)