GLSA-200709-13 : rsync: Two buffer overflows

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200709-13
(rsync: Two buffer overflows)

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200709-13.xml

Solution :

All rsync users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-misc/rsync-2.6.9-r3'

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 26103 (gentoo_GLSA-200709-13.nasl)

Bugtraq ID:

CVE ID: CVE-2007-4091