blob: e71f3231bba09a9c1aff95b38be4c73dd04e9d28 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200804-16">
<title>rsync: Execution of arbitrary code</title>
A buffer overflow in rsync might lead to the remote execution of arbitrary
code when extended attributes are being used.
<product type="ebuild">rsync</product>
<announced>April 17, 2008</announced>
<revised>April 17, 2008: 01</revised>
<package name="net-misc/rsync" auto="yes" arch="*">
<unaffected range="ge">2.6.9-r6</unaffected>
<vulnerable range="lt">2.6.9-r6</vulnerable>
rsync is a file transfer program to keep remote directories
Sebastian Krahmer of SUSE reported an integer overflow in the
expand_item_list() function in the file util.c which might lead to a
heap-based buffer overflow when extended attribute (xattr) support is
<impact type="high">
A remote attacker could send a file containing specially crafted
extended attributes to an rsync deamon, or entice a user to sync from
an rsync server containing specially crafted files, possibly leading to
the execution of arbitrary code.
Please note that extended attributes are only enabled when USE="acl" is
enabled, which is the default setting.
Disable extended attributes in the rsync daemon by setting "<i>refuse
options = xattrs</i>" in the file "/etc/rsyncd.conf" (or append
"xattrs" to an existing "refuse" statement). When synchronizing to a
server, do not provide the "-X" parameter to rsync. You can also
disable the "acl" USE flag for rsync and recompile the package.
All rsync users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-misc/rsync-2.6.9-r6&quot;</code>
<uri link="">CVE-2008-1720</uri>
<metadata tag="requester" timestamp="Mon, 14 Apr 2008 22:37:35 +0000">
<metadata tag="submitter" timestamp="Mon, 14 Apr 2008 23:01:29 +0000">
<metadata tag="bugReady" timestamp="Mon, 14 Apr 2008 23:01:42 +0000">