CVE Vulnerabilities

CVE-2012-0752

Access of Resource Using Incompatible Type ('Type Confusion')

Published: Feb 16, 2012 | Modified: Jan 30, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
6.8 CRITICAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

Adobe Flash Player before 10.3.183.15 and 11.x before 11.1.102.62 on Windows, Mac OS X, Linux, and Solaris; before 11.1.111.6 on Android 2.x and 3.x; and before 11.1.115.6 on Android 4.x allows attackers to execute arbitrary code or cause a denial of service (memory corruption) by leveraging an unspecified type confusion.

Weakness

The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.

Affected Software

Name Vendor Start Version End Version
Flash_player Adobe * 10.3.183.15 (excluding)
Flash_player Adobe 11.0 (including) 11.1.102.62 (excluding)
Supplementary for Red Hat Enterprise Linux 5 RedHat flash-plugin-0:10.3.183.15-1.el5 *
Supplementary for Red Hat Enterprise Linux 6 RedHat flash-plugin-0:10.3.183.15-1.el6 *
Adobe-flashplugin Ubuntu devel *
Adobe-flashplugin Ubuntu hardy *
Adobe-flashplugin Ubuntu lucid *
Adobe-flashplugin Ubuntu maverick *
Adobe-flashplugin Ubuntu natty *
Adobe-flashplugin Ubuntu oneiric *
Adobe-flashplugin Ubuntu upstream *
Flashplugin-nonfree Ubuntu devel *
Flashplugin-nonfree Ubuntu hardy *
Flashplugin-nonfree Ubuntu lucid *
Flashplugin-nonfree Ubuntu maverick *
Flashplugin-nonfree Ubuntu natty *
Flashplugin-nonfree Ubuntu oneiric *
Flashplugin-nonfree Ubuntu upstream *

Extended Description

When the product accesses the resource using an incompatible type, this could trigger logical errors because the resource does not have expected properties. In languages without memory safety, such as C and C++, type confusion can lead to out-of-bounds memory access. While this weakness is frequently associated with unions when parsing data with many different embedded object types in C, it can be present in any application that can interpret the same variable or memory location in multiple ways. This weakness is not unique to C and C++. For example, errors in PHP applications can be triggered by providing array parameters when scalars are expected, or vice versa. Languages such as Perl, which perform automatic conversion of a variable of one type when it is accessed as if it were another type, can also contain these issues.

References