Articles / Red Hat: Updated rsync pack…

Red Hat: Updated rsync package fixes security issue

The rsync program synchronizes files over a network. 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. Updated packages are available from updates.redhat.com.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated rsync package fixes security issue
Advisory ID:       RHSA-2004:436-01
Issue date:        2004-09-01
Updated on:        2004-09-01
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-0792
- ---------------------------------------------------------------------

1. Summary:

An updated rsync package that fixes a path sanitizing bug is now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, ppc64, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

The rsync program synchronizes files over a network. 

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 a backported patch and is not affected by this issue.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/ for more info):

130050 - rsync path sanitizing bug

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/rsync-2.5.7-3.21AS.1.src.rpm
38c1f184d5cc84489a573e904c6e7988  rsync-2.5.7-3.21AS.1.src.rpm

i386:
ded5b61ac737f3c1c61dc8b9335c207e  rsync-2.5.7-3.21AS.1.i386.rpm

ia64:
fa113cb18579a3d71d021ef4674deffa  rsync-2.5.7-3.21AS.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/rsync-2.5.7-3.21AS.1.src.rpm
38c1f184d5cc84489a573e904c6e7988  rsync-2.5.7-3.21AS.1.src.rpm

ia64:
fa113cb18579a3d71d021ef4674deffa  rsync-2.5.7-3.21AS.1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/rsync-2.5.7-3.21AS.1.src.rpm
38c1f184d5cc84489a573e904c6e7988  rsync-2.5.7-3.21AS.1.src.rpm

i386:
ded5b61ac737f3c1c61dc8b9335c207e  rsync-2.5.7-3.21AS.1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/rsync-2.5.7-3.21AS.1.src.rpm
38c1f184d5cc84489a573e904c6e7988  rsync-2.5.7-3.21AS.1.src.rpm

i386:
ded5b61ac737f3c1c61dc8b9335c207e  rsync-2.5.7-3.21AS.1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/rsync-2.5.7-5.3E.src.rpm
a08f47856c11488dbb199e2960618439  rsync-2.5.7-5.3E.src.rpm

i386:
d0966ec43976699f3ae0c275fdcd066f  rsync-2.5.7-5.3E.i386.rpm

ia64:
7a4ead9d5e1d755b453a8b5a2964eb75  rsync-2.5.7-5.3E.ia64.rpm

ppc:
8a771ecf22666ed3f3de2af94ff0059b  rsync-2.5.7-5.3E.ppc.rpm

ppc64:
cacc25c9afc8a5256204725597295be3  rsync-2.5.7-5.3E.ppc64.rpm

s390:
c4227c768095dd4f4c62f5b6eb7abe8c  rsync-2.5.7-5.3E.s390.rpm

s390x:
16177f1105d0bff168394b84e9ce187a  rsync-2.5.7-5.3E.s390x.rpm

x86_64:
d0b5238572ed1d2b26102a8f7be694c4  rsync-2.5.7-5.3E.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/rsync-2.5.7-5.3E.src.rpm
a08f47856c11488dbb199e2960618439  rsync-2.5.7-5.3E.src.rpm

i386:
d0966ec43976699f3ae0c275fdcd066f  rsync-2.5.7-5.3E.i386.rpm

x86_64:
d0b5238572ed1d2b26102a8f7be694c4  rsync-2.5.7-5.3E.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/rsync-2.5.7-5.3E.src.rpm
a08f47856c11488dbb199e2960618439  rsync-2.5.7-5.3E.src.rpm

i386:
d0966ec43976699f3ae0c275fdcd066f  rsync-2.5.7-5.3E.i386.rpm

ia64:
7a4ead9d5e1d755b453a8b5a2964eb75  rsync-2.5.7-5.3E.ia64.rpm

x86_64:
d0b5238572ed1d2b26102a8f7be694c4  rsync-2.5.7-5.3E.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/rsync-2.5.7-5.3E.src.rpm
a08f47856c11488dbb199e2960618439  rsync-2.5.7-5.3E.src.rpm

i386:
d0966ec43976699f3ae0c275fdcd066f  rsync-2.5.7-5.3E.i386.rpm

ia64:
7a4ead9d5e1d755b453a8b5a2964eb75  rsync-2.5.7-5.3E.ia64.rpm

x86_64:
d0b5238572ed1d2b26102a8f7be694c4  rsync-2.5.7-5.3E.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key.html#package

7. References:

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

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFBNjBdXlSAg2UNWIIRApbRAKCWGAeFdF3ZNQCpZL8IE7i1FVcp+QCghmO+
JYIcfuoruMeyznE4SBVIBiU=
=sK4F
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.