You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-200804-16.xml

76 lines
2.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200804-16">
<title>rsync: Execution of arbitrary code</title>
<synopsis>
A buffer overflow in rsync might lead to the remote execution of arbitrary
code when extended attributes are being used.
</synopsis>
<product type="ebuild">rsync</product>
<announced>2008-04-17</announced>
<revised count="01">2008-04-17</revised>
<bug>216887</bug>
<access>remote</access>
<affected>
<package name="net-misc/rsync" auto="yes" arch="*">
<unaffected range="ge">2.6.9-r6</unaffected>
<vulnerable range="lt">2.6.9-r6</vulnerable>
</package>
</affected>
<background>
<p>
rsync is a file transfer program to keep remote directories
synchronized.
</p>
</background>
<description>
<p>
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
enabled.
</p>
</description>
<impact type="high">
<p>
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.
</p>
<p>
Please note that extended attributes are only enabled when USE="acl" is
enabled, which is the default setting.
</p>
</impact>
<workaround>
<p>
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.
</p>
</workaround>
<resolution>
<p>
All rsync users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=net-misc/rsync-2.6.9-r6"</code>
</resolution>
<references>
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1720">CVE-2008-1720</uri>
</references>
<metadata tag="requester" timestamp="2008-04-14T22:37:35Z">
rbu
</metadata>
<metadata tag="submitter" timestamp="2008-04-14T23:01:29Z">
rbu
</metadata>
<metadata tag="bugReady" timestamp="2008-04-14T23:01:42Z">
rbu
</metadata>
</glsa>