CVE Vulnerabilities

CVE-2024-6603

Use of Out-of-range Pointer Offset

Published: Jul 09, 2024 | Modified: Apr 04, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.1 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In an out-of-memory scenario an allocation could fail but free would have been called on the pointer afterwards leading to memory corruption. This vulnerability affects Firefox < 128, Firefox ESR < 115.13, Thunderbird < 115.13, and Thunderbird < 128.

Weakness

The product performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer.

Affected Software

NameVendorStart VersionEnd Version
FirefoxMozilla*115.13 (excluding)
FirefoxMozilla*128.0 (excluding)
ThunderbirdMozilla*115.13 (excluding)
ThunderbirdMozilla116.0 (including)128.0 (excluding)
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatfirefox-0:115.13.0-3.el7_9*
Red Hat Enterprise Linux 8RedHatfirefox-0:115.13.0-3.el8_10*
Red Hat Enterprise Linux 8RedHatthunderbird-0:115.13.0-3.el8_10*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatfirefox-0:115.13.0-3.el8_2*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatthunderbird-0:115.13.0-3.el8_2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatfirefox-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatthunderbird-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatfirefox-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatthunderbird-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatfirefox-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatthunderbird-0:115.13.0-3.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatfirefox-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatthunderbird-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatfirefox-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatthunderbird-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatfirefox-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatthunderbird-0:115.13.0-3.el8_6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatfirefox-0:115.13.0-3.el8_8*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatthunderbird-0:115.13.0-3.el8_8*
Red Hat Enterprise Linux 9RedHatfirefox-0:115.13.0-3.el9_4*
Red Hat Enterprise Linux 9RedHatthunderbird-0:115.13.0-3.el9_4*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatfirefox-0:115.13.0-3.el9_0*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatthunderbird-0:115.13.0-3.el9_0*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatthunderbird-0:115.13.0-3.el9_2*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatfirefox-0:115.13.0-3.el9_2*
FirefoxUbuntufocal*
Mozjs102Ubuntudevel*
Mozjs102Ubuntuesm-apps/noble*
Mozjs102Ubuntujammy*
Mozjs102Ubuntumantic*
Mozjs102Ubuntunoble*
Mozjs102Ubuntuupstream*
Mozjs38Ubuntuesm-apps/bionic*
Mozjs38Ubuntuupstream*
Mozjs52Ubuntuesm-apps/focal*
Mozjs52Ubuntuesm-infra/bionic*
Mozjs52Ubuntufocal*
Mozjs52Ubuntuupstream*
Mozjs68Ubuntuesm-infra/focal*
Mozjs68Ubuntufocal*
Mozjs68Ubuntuupstream*
Mozjs78Ubuntuesm-apps/jammy*
Mozjs78Ubuntujammy*
Mozjs78Ubuntuupstream*
Mozjs91Ubuntujammy*
Mozjs91Ubuntuupstream*
ThunderbirdUbuntufocal*
ThunderbirdUbuntujammy*
ThunderbirdUbuntumantic*

Extended Description

While a pointer can contain a reference to any arbitrary memory location, a program typically only intends to use the pointer to access limited portions of memory, such as contiguous memory used to access an individual array. Programs may use offsets in order to access fields or sub-elements stored within structured data. The offset might be out-of-range if it comes from an untrusted source, is the result of an incorrect calculation, or occurs because of another error. If an attacker can control or influence the offset so that it points outside of the intended boundaries of the structure, then the attacker may be able to read or write to memory locations that are used elsewhere in the product. As a result, the attack might change the state of the product as accessed through program variables, cause a crash or instable behavior, and possibly lead to code execution.

References