Debian Security Advisory

DSA-538-1 rsync -- unsanitised input processing

Date Reported:
17 Aug 2004
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 265662.
In Mitre's CVE dictionary: CVE-2004-0792.
More information:

The rsync developers have discovered a security related problem in rsync, a fast remote file copy program, which offers an attacker to access files outside of the defined directory. To exploit this path-sanitizing bug, rsync has to run in daemon mode with the chroot option being disabled. It does not affect the normal send/receive filenames that specify what files should be transferred. It does affect certain option paths that cause auxiliary files to be read or written.

For the stable distribution (woody) this problem has been fixed in version 2.5.5-0.6.

For the unstable distribution (sid) this problem has been fixed in version 2.6.2-3.

We recommend that you upgrade your rsync package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.