Race condition in the FastCopy optimization in the Array.Copy method in metadata/icall.c in Mono, when Moonlight 2.x before 2.4.1 or 3.x before 3.99.3 is used, allows remote attackers to trigger a buffer overflow and modify internal data structures, and cause a denial of service (plugin crash) or corrupt the internal state of the security manager, via a crafted media file in which a thread makes a change after a type check but before a copy action.
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mono | Mono | * | * |
Moonlight | Novell | 2.0 (including) | 2.0 (including) |
Moonlight | Novell | 2.3.0 (including) | 2.3.0 (including) |
Moonlight | Novell | 2.4 (including) | 2.4 (including) |
Moonlight | Novell | 2.31 (including) | 2.31 (including) |
Moonlight | Novell | 3.0 (including) | 3.0 (including) |
Moonlight | Novell | 3.99 (including) | 3.99 (including) |
Mono | Ubuntu | dapper | * |
Mono | Ubuntu | hardy | * |
Mono | Ubuntu | karmic | * |
Mono | Ubuntu | lucid | * |
Mono | Ubuntu | maverick | * |
Mono | Ubuntu | natty | * |
Mono | Ubuntu | upstream | * |
A race condition occurs within concurrent environments, and it is effectively a property of a code sequence. Depending on the context, a code sequence may be in the form of a function call, a small number of instructions, a series of program invocations, etc. A race condition violates these properties, which are closely related:
A race condition exists when an “interfering code sequence” can still access the shared resource, violating exclusivity. The interfering code sequence could be “trusted” or “untrusted.” A trusted interfering code sequence occurs within the product; it cannot be modified by the attacker, and it can only be invoked indirectly. An untrusted interfering code sequence can be authored directly by the attacker, and typically it is external to the vulnerable product.