Mono: Insecure temporary file creation — GLSA 200611-23

Mono is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files.

Affected packages

dev-lang/mono on all architectures
Affected versions < 1.1.13.8.1
Unaffected versions >= 1.1.13.8.1

Background

Mono provides the necessary software to develop and run .NET client and server applications.

Description

Sebastian Krahmer of the SuSE Security Team discovered that the System.CodeDom.Compiler classes of Mono create temporary files with insecure permissions.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Mono users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/mono-1.1.13.8.1"

References

Release date
November 28, 2006

Latest revision
November 28, 2006: 01

Severity
normal

Exploitable
local

Bugzilla entries