rsync f_name() function buffer overflow

rsync-fname-bo (36072) The risk level is classified as HighHigh Risk

Description:

rsync is vulnerable to multiple stack-based buffer overflows, caused by improper bounds checking by the f_name() function. By sending an overly long directory name, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.

Platforms Affected:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • Samba, Rsync 2.6.9
  • SuSE, SuSE Linux

Remedy:

For SUSE Linux:
Refer to SUSE-SR:2007:017 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux (rsync):
Refer to USN-500-1 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux (rsync):
Refer to DSA-1360-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to GLSA 200709-13 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Aug 15, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page