rsync: Two buffer overflows — GLSA 200709-13

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

Affected Packages

net-misc/rsync on all architectures
Affected versions < 2.6.9-r3
Unaffected versions >= 2.6.9-r3

Background

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

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All rsync users should upgrade to the latest version:

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

References

Release Date
September 20, 2007

Latest Revision
September 20, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries