CVE Vulnerabilities

CVE-2024-8381

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

Published: Sep 03, 2024 | Modified: Nov 04, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
9.8 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A potentially exploitable type confusion could be triggered when looking up a property name on an object being used as the with environment. This vulnerability affects Firefox < 130, Firefox ESR < 128.2, Firefox ESR < 115.15, Thunderbird < 128.2, and Thunderbird < 115.15.

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

NameVendorStart VersionEnd Version
FirefoxMozilla*130.0 (excluding)
Firefox_esrMozilla*115.15 (excluding)
Firefox_esrMozilla128.0 (including)128.2 (excluding)
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatfirefox-0:128.2.0-1.el7_9*
Red Hat Enterprise Linux 8RedHatfirefox-0:128.2.0-1.el8_10*
Red Hat Enterprise Linux 8RedHatthunderbird-0:128.2.0-1.el8_10*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatthunderbird-0:128.2.0-1.el8_2*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatfirefox-0:128.2.0-1.el8_2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatthunderbird-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatfirefox-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatthunderbird-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatfirefox-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatthunderbird-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatfirefox-0:128.2.0-1.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatfirefox-0:128.2.0-1.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatthunderbird-0:128.2.0-1.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatfirefox-0:128.2.0-1.el8_6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatfirefox-0:128.2.0-1.el8_6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatthunderbird-0:128.2.0-1.el8_8*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatfirefox-0:128.2.0-1.el8_8*
Red Hat Enterprise Linux 9RedHatfirefox-0:128.2.0-1.el9_4*
Red Hat Enterprise Linux 9RedHatthunderbird-0:128.2.0-1.el9_4*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatthunderbird-0:128.2.0-1.el9_0*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatfirefox-0:128.2.0-1.el9_0*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatthunderbird-0:128.2.0-1.el9_2*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatfirefox-0:128.2.0-1.el9_2*
FirefoxUbuntufocal*
Mozjs102Ubuntuesm-apps/noble*
Mozjs102Ubuntujammy*
Mozjs102Ubuntunoble*
Mozjs115Ubuntudevel*
Mozjs115Ubuntunoble*
Mozjs115Ubuntuoracular*
Mozjs38Ubuntuesm-apps/bionic*
Mozjs52Ubuntuesm-apps/focal*
Mozjs52Ubuntuesm-infra/bionic*
Mozjs52Ubuntufocal*
Mozjs68Ubuntuesm-infra/focal*
Mozjs68Ubuntufocal*
Mozjs78Ubuntuesm-apps/jammy*
Mozjs78Ubuntujammy*
Mozjs91Ubuntujammy*
ThunderbirdUbuntufocal*
ThunderbirdUbuntujammy*

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