<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="200611-23"> <title>Mono: Insecure temporary file creation</title> <synopsis> Mono is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files. </synopsis> <product type="ebuild">mono</product> <announced>2006-11-28</announced> <revised count="01">2006-11-28</revised> <bug>150264</bug> <access>local</access> <affected> <package name="dev-lang/mono" auto="yes" arch="*"> <unaffected range="ge">1.1.13.8.1</unaffected> <vulnerable range="lt">1.1.13.8.1</vulnerable> </package> </affected> <background> <p> Mono provides the necessary software to develop and run .NET client and server applications. </p> </background> <description> <p> Sebastian Krahmer of the SuSE Security Team discovered that the System.CodeDom.Compiler classes of Mono create temporary files with insecure permissions. </p> </description> <impact type="normal"> <p> A local attacker could create links in the temporary file directory, pointing to a valid file somewhere on the filesystem. When an affected class is called, this could result in the file being overwritten with the rights of the user running the script. </p> </impact> <workaround> <p> There is no known workaround at this time. </p> </workaround> <resolution> <p> All Mono users should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/mono-1.1.13.8.1"</code> </resolution> <references> <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5072">CVE-2006-5072</uri> </references> <metadata tag="requester" timestamp="2006-11-24T09:48:51Z"> jaervosz </metadata> <metadata tag="submitter" timestamp="2006-11-27T17:16:01Z"> falco </metadata> <metadata tag="bugReady" timestamp="2006-11-28T12:13:57Z"> falco </metadata> </glsa>