FLSA-2004:2003: Updated rsync package fixes security issues
Posted on: 09/30/2004 11:41 AM

Updated rsync packages are available for Red Hat Linux 7.3 and 9

-------------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated rsync package fixes security issues
Advisory ID: FLSA:2003
Issue date: 2004-09-30
Product: Red Hat Linux
Keywords: Bugfix
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id
03
CVE Names: CAN-2004-0426 CAN-2004-0792
-------------------------------------------------------------------------


-------------------------------------------------------------------------
1. Topic:

An updated rsync package that fixes several security issues is now available.

The rsync program synchronizes files over a network.

2. Relevent releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386

3. Problem description:

Rsync before 2.6.1 does not properly sanitize paths when running a read/write daemon without using chroot. This could allow a remote attacker to write files outside of the module's "path", depending on the privileges assigned to the rsync daemon. Users not running an rsync daemon, running a read-only daemon, or running a chrooted daemon are not affected by this issue. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0426 to this issue.

Versions of rsync up to and including version 2.6.2 contain a path sanitization issue. This issue could allow an attacker to read or write files outside of the rsync directory. This vulnerability is only exploitable when an rsync server is enabled and is not running within a chroot. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0792 to this issue.

Users of rsync are advised to upgrade to this updated package, which contains backported patches and is not affected by these issues.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www fedoralegacy.org/docs for directions on how to configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #1569
http://bugzilla.fedora.us - bug #2003

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm

7. Verification:

SHA1 sum Package Name
- -
---------------------------------------------------------------------------

1101ad1c735a11c9be6f4d45971374a6195431d9
7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm
4bb344d823f423cf5c1cc64d949dd1d9408960e7
7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm
49a3fa2fe967ed5c62994d5785463357aaf49de5
9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm
84ec22198c189660f3cf2b967b710de9a04d6b22
9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.rpm

These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v filename

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum filename

8. References:

http://rsync.samba.org/#security_apr04
http://rsync.samba.org/#security_aug04
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0426
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0792

9. Contact:

The Fedora Legacy security contact is secnotice@fedoralegacy.org. More project details at http://www.fedoralegacy.org


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/flsa_20042003_updated_rsync_package_fixes_security_issues.html)