Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Virtualization
  • Red Hat Identity Management
  • Red Hat Directory Server
  • Red Hat Certificate System
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Update Infrastructure
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat CloudForms
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Online
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat CodeReady Workspaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Thorntail
  • Red Hat build of Eclipse Vert.x
  • Red Hat build of OpenJDK
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Integration
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
  • Red Hat JBoss Data Virtualization
  • Red Hat Process Automation
  • Red Hat Process Automation Manager
  • Red Hat Decision Manager
All Products
Red Hat Product Errata RHSA-2011:0999 - Security Advisory
Issued:
2011-07-21
Updated:
2011-07-21

RHSA-2011:0999 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: rsync security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated rsync package that fixes one security issue, several bugs, and
adds enhancements is now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

Description

rsync is a program for synchronizing files over a network.

A flaw was found in the way the rsync daemon handled the "filter",
"exclude", and "exclude from" options, used for hiding files and preventing
access to them from rsync clients. A remote attacker could use this flaw to
bypass those restrictions by using certain command line options and
symbolic links, allowing the attacker to overwrite those files if they knew
their file names and had write access to them. (CVE-2007-6200)

Note: This issue only affected users running rsync as a writable daemon:
"read only" set to "false" in the rsync configuration file (for example,
"/etc/rsyncd.conf"). By default, this option is set to "true".

This update also fixes the following bugs:

  • The rsync package has been upgraded to upstream version 3.0.6, which

provides a number of bug fixes and enhancements over the previous version.
(BZ#339971)

  • When running an rsync daemon that was receiving files, a deferred info,

error or log message could have been sent directly to the sender instead of
being handled by the "rwrite()" function in the generator. Also, under
certain circumstances, a deferred info or error message from the receiver
could have bypassed the log file and could have been sent only to the
client process. As a result, an "unexpected tag 3" fatal error could have
been displayed. These problems have been fixed in this update so that an
rsync daemon receiving files now works as expected. (BZ#471182)

  • Prior to this update, the rsync daemon called a number of timezone-using

functions after doing a chroot. As a result, certain C libraries were
unable to generate proper timestamps from inside a chrooted daemon. This
bug has been fixed in this update so that the rsync daemon now calls the
respective timezone-using functions prior to doing a chroot, and proper
timestamps are now generated as expected. (BZ#575022)

  • When running rsync under a non-root user with the "-A" ("--acls") option

and without using the "--numeric-ids" option, if there was an Access
Control List (ACL) that included a group entry for a group that the
respective user was not a member of on the receiving side, the
"acl_set_file()" function returned an invalid argument value ("EINVAL").
This was caused by rsync mistakenly mapping the group name to the Group ID
"GID_NONE" ("-1"), which failed. The bug has been fixed in this update so
that no invalid argument is returned and rsync works as expected.
(BZ#616093)

  • When creating a sparse file that was zero blocks long, the "rsync
  • -sparse" command did not properly truncate the sparse file at the end of

the copy transaction. As a result, the file size was bigger than expected.
This bug has been fixed in this update by properly truncating the file so
that rsync now copies such files as expected. (BZ#530866)

  • Under certain circumstances, when using rsync in daemon mode, rsync

generator instances could have entered an infinitive loop, trying to write
an error message for the receiver to an invalid socket. This problem has
been fixed in this update by adding a new sibling message: when the
receiver is reporting a socket-read error, the generator will notice this
fact and avoid writing an error message down the socket, allowing it to
close down gracefully when the pipe from the receiver closes. (BZ#690148)

  • Prior to this update, there were missing deallocations found in the

"start_client()" function. This bug has been fixed in this update and no
longer occurs. (BZ#700450)

All users of rsync are advised to upgrade to this updated package, which
resolves these issues and adds enhancements.

Solution

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

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 339971 - [RFE] Rebase rsync packages to version 3
  • BZ - 407171 - CVE-2007-6200 rsync excluded content access restrictions bypass via symlinks
  • BZ - 471182 - rsync errors: unexpected tag 3 [sender]
  • BZ - 530866 - rsync --sparse does not properly copy sparse files
  • BZ - 575022 - rsyncd gets confused with timezones when logging to syslog
  • BZ - 616093 - EINVAL (Invalid argument) setting group --acls
  • BZ - 690148 - Rsync instances stay in memory when using in daemon mode
  • BZ - 700450 - Resource leaks revealed by Coverity scan.

CVEs

  • CVE-2007-6200

References

  • https://access.redhat.com/security/updates/classification/#moderate
  • http://rsync.samba.org/security.html#s3_0_0
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
x86_64
rsync-3.0.6-4.el5.x86_64.rpm SHA-256: bc82043835c298f9e557083ebb8457d06be420cded39ee9429ff47c9d42ec5e6
ia64
rsync-3.0.6-4.el5.ia64.rpm SHA-256: 08d58119fd808a54e66fb1747fcd7c86ccfb8a97f8ee3a2c8bb6c0eb7e1ac354
i386
rsync-3.0.6-4.el5.i386.rpm SHA-256: dd5fc9621d8fe19fdb434b10cab90956deab55c37ee0c02443f75af549e7b175

Red Hat Enterprise Linux Workstation 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
x86_64
rsync-3.0.6-4.el5.x86_64.rpm SHA-256: bc82043835c298f9e557083ebb8457d06be420cded39ee9429ff47c9d42ec5e6
i386
rsync-3.0.6-4.el5.i386.rpm SHA-256: dd5fc9621d8fe19fdb434b10cab90956deab55c37ee0c02443f75af549e7b175

Red Hat Enterprise Linux Desktop 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
x86_64
rsync-3.0.6-4.el5.x86_64.rpm SHA-256: bc82043835c298f9e557083ebb8457d06be420cded39ee9429ff47c9d42ec5e6
i386
rsync-3.0.6-4.el5.i386.rpm SHA-256: dd5fc9621d8fe19fdb434b10cab90956deab55c37ee0c02443f75af549e7b175

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
s390x
rsync-3.0.6-4.el5.s390x.rpm SHA-256: f4870b4b66bb56ec050718bbeae27903909fbbcddcb1ee3329cb30b928777d86

Red Hat Enterprise Linux for Power, big endian 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
ppc
rsync-3.0.6-4.el5.ppc.rpm SHA-256: ceed63a853f3d28f0e6855a064f14358e9fd735528526424b04eb94a135908a7

Red Hat Enterprise Linux Server from RHUI 5

SRPM
rsync-3.0.6-4.el5.src.rpm SHA-256: 92f3c44c25d077f03b3a557347447de43c6ef2fb8e537ca81551771e05c73c90
x86_64
rsync-3.0.6-4.el5.x86_64.rpm SHA-256: bc82043835c298f9e557083ebb8457d06be420cded39ee9429ff47c9d42ec5e6
i386
rsync-3.0.6-4.el5.i386.rpm SHA-256: dd5fc9621d8fe19fdb434b10cab90956deab55c37ee0c02443f75af549e7b175

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2022 Red Hat, Inc.
  • Privacy Statement
  • Customer Portal Terms of Use
  • All Policies and Guidelines
Red Hat Summit
Twitter