Cloudanix VulnDB

CVE-2024-4771

High · 8.6

CVSS

8.6

EPSS

0.5%

Published

May 14, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A missing safety check in memory handling could let an attacker remotely take control of or crash the application.

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

What it actually does

Missing memory allocation check triggers use-after-free on failure, enabling potential code execution or application crash in network-facing code paths.

Why it matters to the business

Remote attackers could execute arbitrary code or cause denial of service on affected systems, leading to data exposure, system compromise, and operational disruption for organizations relying on the software.

How an attack unfolds

An attacker sends specially crafted network input that forces a memory allocation to fail; without the missing check the freed object is later reused, allowing the attacker to corrupt memory and potentially achieve code execution.

How to fix it

Upgrade to a release containing the allocation check (Firefox 126 or later) and ensure all instances receive the update promptly.

How to confirm the fix worked

Confirm the installed version meets or exceeds the fixed release; review changelog entries for the memory allocation fix and test affected code paths under allocation-failure conditions.

Typical attack path

  1. Deliver malicious content via network request to the vulnerable component
  2. Trigger allocation failure through resource exhaustion or malformed data
  3. Reuse dangling pointer to corrupt memory layout
  4. Execute arbitrary code or trigger crash

How to detect it

Search application and system logs for unexpected crashes or memory-related errors around the time of suspicious network activity; correlate with inbound traffic patterns that could induce allocation failures.

What your security team should do

  • Apply the vendor update to all instances within the standard change window
  • Monitor for post-patch stability issues in high-traffic environments
  • Review network exposure of affected components and apply least-privilege controls

The record

A memory allocation check was missing which would lead to a use-after-free if the allocation failed. This could have triggered a crash or potentially be leveraged to achieve code execution. This vulnerability affects Firefox < 126.

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 126.0+build2-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
openSUSE:Tumbleweed MozillaFirefox 0 126.0-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities