Bug 441683 (CVE-2008-1720) - CVE-2008-1720 rsync: integer overflow in xattr handling
Summary: CVE-2008-1720 rsync: integer overflow in xattr handling
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-1720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 441689 441690 442430
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-09 14:13 UTC by Tomas Hoger
Modified: 2021-11-12 19:49 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-17 06:41:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2008-04-09 14:13:09 UTC
Sebastian Krahmer of SuSE reported and integer overflow leading to a heap buffer
overflow in the xattr handling code (function expand_item_list()) used by rsync.

This issue affects rsync 2.6.9 and all rsync 3.x versions with xattr support
enabled.  Upstream released version 3.0.2:

  http://samba.anu.edu.au/rsync/security.html#s3_0_2

including the fix:

  http://rsync.samba.org/ftp/rsync/security/rsync-3.0.1-xattr-alloc.diff

Upstream advisory also documents following mitigation to prevent exploitation of
the issue on affected versions:

  Those running a writable rsync daemon can opt to refuse the "xattrs" option
  as a way to avoid the problem without an upgrade:

    refuse options = xattrs

  (If you already refuse options, be sure to append "xattrs" to your existing
  config parameter rather than adding another refuse directive.)

Comment 1 Simo Sorce 2008-04-09 14:19:31 UTC
F-7,F-8 and F-9 packages released.
no RHEL product seem to be affected.

Comment 3 Fedora Update System 2008-04-09 14:53:24 UTC
rsync-2.6.9-6.fc7 has been submitted as an update for Fedora 7

Comment 4 Fedora Update System 2008-04-09 14:53:31 UTC
rsync-2.6.9-5.fc8 has been submitted as an update for Fedora 8

Comment 6 Tomas Hoger 2008-04-10 17:14:38 UTC
This issue did not affect rsync packages as shipped in Red Hat Enterprise Linux
2.1, 3, 4 and 5.

Comment 7 Fedora Update System 2008-04-17 03:47:19 UTC
rsync-2.6.9-5.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-04-17 03:48:28 UTC
rsync-2.6.9-6.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Red Hat Product Security 2008-04-17 06:41:36 UTC
This issue was addressed in:

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2008-3060
  https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3047




Note You need to log in before you can comment on or make changes to this bug.