GLSA 200611-23: Mono: Insecure temporary file creation

Severity:normal
Title:Mono: Insecure temporary file creation
Date:11/28/2006
Bugs: #150264
ID:200611-23

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/mono < 1.1.13.8.1 >= 1.1.13.8.1 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200611-23.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!