Cloudanix VulnDB

CVE-2022-45406

Critical · 9.8

CVSS

9.8

EPSS

1.1%

Published

Dec 22, 2022

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A memory-handling mistake in the browser could let a malicious website crash the program or run attacker code.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-memory during JavaScript global creation can delete a realm while BaseShape still holds references, resulting in use-after-free that may be leveraged for a crash or arbitrary code execution.

Why it matters to the business

Remote attackers could crash affected applications or achieve code execution on user systems, risking data exposure and operational disruption; the issue has been public for years with no observed exploitation or ransomware use.

How an attack unfolds

An attacker supplies crafted web content that triggers an out-of-memory condition exactly when a JavaScript global is allocated, leaving dangling references that are later dereferenced to corrupt memory or redirect execution.

How to fix it

Upgrade to Firefox ESR 102.5 or later, Thunderbird 102.5 or later, or Firefox 107 or later. For tensorflow/tensorflow (GIT) apply commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0.

How to confirm the fix worked

Confirm the installed browser or tensorflow build reports the fixed version string; attempt reproduction of the OOM sequence in a controlled test environment and verify no crash occurs.

Typical attack path

  1. Deliver malicious JavaScript via a web page or email attachment
  2. Trigger allocation failure during global creation
  3. Force realm deletion while BaseShape references persist
  4. Reuse freed memory to corrupt control structures
  5. Achieve crash or code execution

How to detect it

Review browser crash reports and memory dumps for patterns involving BaseShape and realm deletion; correlate with web-request logs showing unusual JavaScript execution immediately before the crash.

What your security team should do

  • Prioritize patching browsers and Thunderbird within standard maintenance windows
  • Monitor EPSS and KEV feeds for any future change in exploitability
  • Apply the tensorflow commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0 if that package is in use

The record

If an out-of-memory condition occurred when creating a JavaScript global, a JavaScript realm may be deleted while references to it lived on in a BaseShape. This could lead to a use-after-free causing a potentially exploitable crash. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 firefox 0 102.5.0-1.el8_7.alma
AlmaLinux:8 thunderbird 0 102.5.0-2.el8_7.alma
AlmaLinux:9 firefox 0 102.5.0-1.el9_1.alma
AlmaLinux:9 thunderbird 0 102.5.0-2.el9_1.alma
Debian:10 firefox-esr 0 102.5.0esr-1~deb10u1
Debian:10 thunderbird 0 1:102.5.0-1~deb10u1
Debian:11 firefox-esr 0 102.5.0esr-1~deb11u1
Debian:11 thunderbird 0 1:102.5.0-1~deb11u1
Debian:12 firefox-esr 0 102.5.0esr-1
Debian:12 thunderbird 0 1:102.5.0-1
Debian:13 firefox-esr 0 102.5.0esr-1
Debian:13 thunderbird 0 1:102.5.0-1
Mageia:8 firefox 0 102.5.0-1.mga8
Mageia:8 firefox-l10n 0 102.5.0-1.mga8
Mageia:8 nss 0 3.85.0-1.mga8
Mageia:8 thunderbird 0 102.5.0-1.mga8
Mageia:8 thunderbird-l10n 0 102.5.0-1.mga8
Red Hat:enterprise_linux:7::client firefox 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::client thunderbird 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:7::server firefox 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::server thunderbird 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:7::workstation firefox 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:102.5.0-1.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:102.5.0-2.el7_9
Red Hat:enterprise_linux:8::appstream firefox 0 0:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::appstream firefox-debuginfo 0 0:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::appstream firefox-debugsource 0 0:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::appstream thunderbird 0 0:102.5.0-2.el8_7
Red Hat:enterprise_linux:8::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_7
Red Hat:enterprise_linux:8::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_7
Red Hat:enterprise_linux:9::appstream firefox 0 0:102.5.0-1.el9_1
Red Hat:enterprise_linux:9::appstream firefox-debuginfo 0 0:102.5.0-1.el9_1
Red Hat:enterprise_linux:9::appstream firefox-debugsource 0 0:102.5.0-1.el9_1
Red Hat:enterprise_linux:9::appstream thunderbird 0 0:102.5.0-2.el9_1
Red Hat:enterprise_linux:9::appstream thunderbird-debuginfo 0 0:102.5.0-2.el9_1
Red Hat:enterprise_linux:9::appstream thunderbird-debugsource 0 0:102.5.0-2.el9_1
Red Hat:rhel_aus:8.2::appstream firefox 0 0:102.5.0-1.el8_2
Red Hat:rhel_aus:8.2::appstream firefox-debuginfo 0 0:102.5.0-1.el8_2
Red Hat:rhel_aus:8.2::appstream firefox-debugsource 0 0:102.5.0-1.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird 0 0:102.5.0-2.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_2
Red Hat:rhel_e4s:8.1::appstream firefox 0 0:102.5.0-1.el8_1
Red Hat:rhel_e4s:8.1::appstream firefox-debuginfo 0 0:102.5.0-1.el8_1
Red Hat:rhel_e4s:8.1::appstream firefox-debugsource 0 0:102.5.0-1.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird 0 0:102.5.0-2.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_1
Red Hat:rhel_e4s:8.2::appstream firefox 0 0:102.5.0-1.el8_2
Red Hat:rhel_e4s:8.2::appstream firefox-debuginfo 0 0:102.5.0-1.el8_2
Red Hat:rhel_e4s:8.2::appstream firefox-debugsource 0 0:102.5.0-1.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird 0 0:102.5.0-2.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_2
Red Hat:rhel_eus:8.4::appstream firefox 0 0:102.5.0-1.el8_4
Red Hat:rhel_eus:8.4::appstream firefox-debuginfo 0 0:102.5.0-1.el8_4
Red Hat:rhel_eus:8.4::appstream firefox-debugsource 0 0:102.5.0-1.el8_4
Red Hat:rhel_eus:8.4::appstream thunderbird 0 0:102.5.0-2.el8_4
Red Hat:rhel_eus:8.4::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_4
Red Hat:rhel_eus:8.4::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_4
Red Hat:rhel_eus:8.6::appstream firefox 0 0:102.5.0-1.el8_6
Red Hat:rhel_eus:8.6::appstream firefox-debuginfo 0 0:102.5.0-1.el8_6
Red Hat:rhel_eus:8.6::appstream firefox-debugsource 0 0:102.5.0-1.el8_6
Red Hat:rhel_eus:8.6::appstream thunderbird 0 0:102.5.0-2.el8_6
Red Hat:rhel_eus:8.6::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_6
Red Hat:rhel_eus:8.6::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_6
Red Hat:rhel_eus:9.0::appstream firefox 0 0:102.5.0-1.el9_0
Red Hat:rhel_eus:9.0::appstream firefox-debuginfo 0 0:102.5.0-1.el9_0
Red Hat:rhel_eus:9.0::appstream firefox-debugsource 0 0:102.5.0-1.el9_0
Red Hat:rhel_eus:9.0::appstream thunderbird 0 0:102.5.0-2.el9_0
Red Hat:rhel_eus:9.0::appstream thunderbird-debuginfo 0 0:102.5.0-2.el9_0
Red Hat:rhel_eus:9.0::appstream thunderbird-debugsource 0 0:102.5.0-2.el9_0
Red Hat:rhel_tus:8.2::appstream firefox 0 0:102.5.0-1.el8_2
Red Hat:rhel_tus:8.2::appstream firefox-debuginfo 0 0:102.5.0-1.el8_2
Red Hat:rhel_tus:8.2::appstream firefox-debugsource 0 0:102.5.0-1.el8_2
Red Hat:rhel_tus:8.2::appstream thunderbird 0 0:102.5.0-2.el8_2
Red Hat:rhel_tus:8.2::appstream thunderbird-debuginfo 0 0:102.5.0-2.el8_2
Red Hat:rhel_tus:8.2::appstream thunderbird-debugsource 0 0:102.5.0-2.el8_2
Rocky Linux:8 firefox 0 0:102.5.0-1.el8_7
Rocky Linux:8 thunderbird 0 0:102.5.0-2.el8_7
SUSE:Enterprise Storage 6 MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Enterprise Storage 7 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise Module for Package Hub 15 SP3 MozillaThunderbird 0 102.5.0-150200.8.90.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4 MozillaThunderbird 0 102.5.0-150200.8.90.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Server 15 SP2-BCL MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise Server 15 SP2-LTSS MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox 0 102.5.0-150000.150.65.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 102.5.0-112.139.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 MozillaThunderbird 0 102.5.0-150200.8.90.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 MozillaThunderbird 0 102.5.0-150200.8.90.1
SUSE:Manager Proxy 4.1 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Manager Retail Branch Server 4.1 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:Manager Server 4.1 MozillaFirefox 0 102.5.0-150200.152.67.3
SUSE:OpenStack Cloud 9 MozillaFirefox 0 102.5.0-112.139.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox 0 102.5.0-112.139.1
Ubuntu:18.04:LTS firefox 0 107.0+build2-0ubuntu0.18.04.1
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:18.04:LTS thunderbird 0 1:102.7.1+build2-0ubuntu0.18.04.1
Ubuntu:20.04:LTS firefox 0 107.0+build2-0ubuntu0.20.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS mozjs68 0 No fix
Ubuntu:20.04:LTS thunderbird 0 1:102.7.1+build2-0ubuntu0.20.04.1
Ubuntu:22.04:LTS mozjs78 0 No fix
Ubuntu:22.04:LTS mozjs91 0 No fix
Ubuntu:22.04:LTS thunderbird 0 1:102.7.1+build2-0ubuntu0.22.04.1
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:18.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs68 0 No fix
Ubuntu:Pro:22.04:LTS mozjs78 0 No fix
openSUSE:Leap 15.3 MozillaFirefox 0 102.5.0-150200.152.67.3
openSUSE:Leap 15.3 MozillaThunderbird 0 102.5.0-150200.8.90.1
openSUSE:Leap 15.4 MozillaFirefox 0 102.5.0-150200.152.67.3
openSUSE:Leap 15.4 MozillaThunderbird 0 102.5.0-150200.8.90.1
openSUSE:Tumbleweed MozillaFirefox 0 107.0-1.1
openSUSE:Tumbleweed MozillaThunderbird 0 102.5.0-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1
openSUSE:Tumbleweed mozjs102 0 102.5.0-1.1

Related vulnerabilities