CVE-2024-1556
NoneCVSS
—
EPSS
0.5%
Published
Feb 20, 2024
CISA due date
—
Cloudanix analysis
A flaw in the browser's performance profiler could let an attacker crash the program or run harmful code when that tool is active.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Theoretical
- Impact
- Other
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Incorrect NULL check on an object inside the built-in profiler permits invalid memory access and undefined behavior when the profiler is active.
Why it matters to the business
When the profiler feature is enabled, the application may crash or allow memory corruption that could be leveraged for code execution, potentially disrupting user sessions or exposing data on affected systems.
How an attack unfolds
An attacker enables or triggers the built-in profiler, supplies input that exercises the faulty NULL check, and causes an out-of-bounds or NULL dereference that results in memory corruption; successful exploitation then depends on the resulting undefined behavior being turned into a controlled read or write primitive.
How to fix it
Upgrade to Firefox 123 or later to receive the corrected NULL check logic; disable the profiler when not required as a temporary mitigation.
How to confirm the fix worked
Confirm the installed application reports version 123 or higher; exercise the profiler under controlled conditions and verify no crash or undefined behavior occurs.
Typical attack path
- Enable or force the built-in profiler to run
- Craft input that reaches the incorrect NULL check path
- Trigger invalid memory access leading to corruption
- Leverage the resulting primitive for further exploitation or denial of service
How to detect it
Review application crash logs and memory dumps for profiler-related NULL dereference signatures; correlate with any unexpected profiler activation events in telemetry or logs.
What your security team should do
- Prioritize patching all instances to version 123 or newer
- Audit configurations that leave the profiler enabled by default
- Monitor for any post-patch profiler-related crashes as a sign of incomplete remediation
The record
The incorrect object was checked for NULL in the built-in profiler, potentially leading to invalid memory access and undefined behavior. *Note:* This issue only affects the application when the profiler is running. This vulnerability affects Firefox < 123.
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 | 123.0+build3-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 | 123.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2025-0243 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 128.5, and… Also affects mozjs38
- CVE-2025-0237 The WebChannel API, which is used to transport various information across processes, did… Also affects mozjs38
- CVE-2025-0238 Assuming a controlled failed memory allocation, an attacker could have caused a… Also affects mozjs38
- CVE-2025-0240 Parsing a JavaScript module as JSON could, under some circumstances, cause… Also affects mozjs38
- CVE-2025-0239 When using Alt-Svc, ALPN did not properly validate certificates when the original server… Also affects mozjs38
- CVE-2025-0241 When segmenting specially crafted text, segmentation would corrupt memory leading to a… Also affects mozjs38
- CVE-2025-0242 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 115.18, Firefox… Also affects mozjs38
- CVE-2024-11704 A double-free issue could have occurred in `sec_pkcs7_decoder_start_decrypt()` when… Also affects mozjs38