Mono: Buffer overflow

Security Team  Contact Address

Updated November 07, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-10 / mono
Release Date November 07, 2007
Latest Revision November 07, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/mono < 1.2.5.1-r1 >= 1.2.5.1-r1 All supported architectures

Related bugreports: #197067

Synopsis

Mono's BigInteger implementation contains a buffer overflow vulnerability that might lead to the execution of arbitrary code.

2.  Impact Information

Background

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

Description

IOActive discovered an error in the Mono.Math.BigInteger class, in the reduction step of the Montgomery-based Pow methods, that could lead to a buffer overflow.

Impact

A remote attacker could exploit this vulnerability by sending specially crafted data to Mono applications using the BigInteger class, which might lead to the execution of arbitrary code with the privileges of the user running the application (possibly root) or a Denial of Service.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Mono users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References