Cloudanix VulnDB

CVE-2023-5170

High · 7.4

CVSS

7.4

EPSS

0.7%

Published

Sep 27, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in older Firefox versions could let an attacker who already has some access inside the browser steal sensitive memory data and potentially reach other parts of the computer.

Chainable
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Privilege Gain
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A compromised content process could cause a surface to change unexpectedly during canvas rendering, resulting in a memory leak from a privileged process that may be leveraged for sandbox escape.

Why it matters to the business

Older browser installations could allow attackers to leak privileged memory and potentially escape the sandbox, raising the risk of data exposure or further system compromise across user bases running affected versions.

How an attack unfolds

An attacker first gains control of a content process, manipulates canvas rendering to induce an unexpected surface change, leaks privileged memory, and uses the leaked data to escape the sandbox.

How to fix it

Upgrade Mozilla Firefox to version 118 or later to resolve the canvas rendering memory leak.

How to confirm the fix worked

Confirm the installed Firefox version is 118 or newer; test canvas rendering paths under controlled conditions to verify absence of unexpected surface changes and memory leaks.

Typical attack path

  1. Gain control of a content process via malicious web content
  2. Trigger canvas rendering operations that alter surface state unexpectedly
  3. Exploit the resulting memory leak to obtain privileged data
  4. Use leaked data to achieve sandbox escape

How to detect it

Examine browser process logs and crash reports for canvas rendering anomalies or unexpected memory leaks; correlate with attempts to access privileged surfaces or sandbox violations.

What your security team should do

  • Prioritize immediate upgrade of all Firefox instances to version 118 or later
  • Review and enforce browser update policies across the organization
  • Monitor endpoint logs for anomalous canvas-related memory behavior until updates are complete

The record

In canvas rendering, a compromised content process could have caused a surface to change unexpectedly, leading to a memory leak of a privileged process. This memory leak could be used to effect a sandbox escape if the correct data was leaked. This vulnerability affects Firefox < 118.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS firefox 0 118.0.1+build1-0ubuntu0.20.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS mozjs68 0 No fix
Ubuntu:22.04:LTS mozjs102 0 No fix
Ubuntu:22.04:LTS mozjs78 0 No fix
Ubuntu:22.04:LTS mozjs91 0 No fix
Ubuntu:24.04:LTS mozjs102 0 No fix
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
Ubuntu:Pro:24.04:LTS mozjs102 0 No fix
openSUSE:Tumbleweed MozillaFirefox 0 118.0.1-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities