<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="200511-17"> <title>FUSE: mtab corruption through fusermount</title> <synopsis> The fusermount utility from FUSE can be abused to corrupt the /etc/mtab file contents, potentially allowing a local attacker to set unauthorized mount options. </synopsis> <product type="ebuild">FUSE</product> <announced>2005-11-22</announced> <revised count="01">2005-11-22</revised> <bug>112902</bug> <access>local</access> <affected> <package name="sys-fs/fuse" auto="yes" arch="*"> <unaffected range="ge">2.4.1-r1</unaffected> <vulnerable range="lt">2.4.1-r1</vulnerable> </package> </affected> <background> <p> FUSE (Filesystem in Userspace) allows implementation of a fully functional filesystem in a userspace program. The fusermount utility is used to mount/unmount FUSE file systems. </p> </background> <description> <p> Thomas Biege discovered that fusermount fails to securely handle special characters specified in mount points. </p> </description> <impact type="normal"> <p> A local attacker could corrupt the contents of the /etc/mtab file by mounting over a maliciously-named directory using fusermount, potentially allowing the attacker to set unauthorized mount options. This is possible only if fusermount is installed setuid root, which is the default in Gentoo. </p> </impact> <workaround> <p> There is no known workaround at this time. </p> </workaround> <resolution> <p> All FUSE users should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=sys-fs/fuse-2.4.1-r1"</code> </resolution> <references> <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3531">CVE-2005-3531</uri> </references> <metadata tag="requester" timestamp="2005-11-20T12:06:35Z"> jaervosz </metadata> <metadata tag="submitter" timestamp="2005-11-21T13:30:54Z"> koon </metadata> <metadata tag="bugReady" timestamp="2005-11-22T16:07:17Z"> koon </metadata> </glsa>