Gentoo Logo

rsync: Two buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200709-13 / rsync
Release Date September 20, 2007
Latest Revision September 20, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/rsync < 2.6.9-r3 >= 2.6.9-r3 All supported architectures

Related bugreports: #189132


Two user-assisted buffer overflow vulnerabilities have been discovered in rsync.

2.  Impact Information


rsync is a file transfer program to keep remote directories synchronized.


Sebastian Krahmer from the SUSE Security Team discovered two off-by-one errors in the function "f_name()" in file sender.c when processing overly long directory names.


A remote attacker could entice a user to synchronize a repository containing specially crafted directories, leading to the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information


There is no known workaround at this time.


All rsync users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/rsync-2.6.9-r3"

4.  References


Page updated September 20, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.