Lucene search

K
gentooGentoo FoundationGLSA-200408-17
HistoryAug 17, 2004 - 12:00 a.m.

rsync: Potential information leakage

2004-08-1700:00:00
Gentoo Foundation
security.gentoo.org
11

0.006 Low

EPSS

Percentile

77.9%

Background

rsync is a utility that provides fast incremental file transfers. It is used to efficiently synchronize files between hosts and is used by emerge to fetch Gentoo’s Portage tree. rsyncd is the rsync daemon, which listens to connections from rsync clients.

Description

The paths sent by the rsync client are not checked thoroughly enough. It does not affect the normal send/receive filenames that specify what files should be transferred. It does affect certain option paths that cause auxilliary files to be read or written.

Impact

When rsyncd is used without chroot (“use chroot = false” in the rsyncd.conf file), this vulnerability could allow the listing of arbitrary files outside module’s path and allow file overwriting outside module’s path on rsync server configurations that allows uploading. Both possibilities are exposed only when chroot option is disabled.

Workaround

You should never set the rsync daemon to run with “use chroot = false”.

Resolution

All users should update to the latest version of the rsync package.

 # emerge sync
 
 # emerge -pv ">=net-misc/rsync-2.6.0-r3"
 # emerge ">=net-misc/rsync-2.6.0-r3"
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-misc/rsync<= 2.6.0-r2UNKNOWN

0.006 Low

EPSS

Percentile

77.9%