CVE-2024-1552
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-1552 is a security vulnerability affecting Mozilla products that involves incorrect code generation leading to unexpected numeric conversions and potential undefined behavior. The vulnerability specifically affects 32-bit ARM devices in Firefox versions before 123, Firefox ESR versions before 115.8, and Thunderbird versions before 115.8. This issue was discovered by Gary Kwong and publicly disclosed on February 20, 2024 (Mozilla Advisory).

Technical details

The vulnerability stems from a bug in the code generation process where a ScratchFloat32Scope was incorrectly used instead of a ScratchDoubleScope. This resulted in the convertFloat32ToDouble function expecting a destination register to be a double, but instead using a float32 scratch register. The issue manifests specifically in the ARM architecture's handling of floating-point register operations, where incorrect code generation could lead to unexpected numeric conversions (Mozilla Bug). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability's impact is considered low due to its limited scope affecting only 32-bit ARM devices. While the bug could potentially lead to undefined behavior through unexpected numeric conversions, security researchers have assessed that exploitation is unlikely. The issue primarily affects the numeric conversion process in the JavaScript engine's code generation phase (Mozilla Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Firefox 123, Firefox ESR 115.8, and Thunderbird 115.8. Users are advised to update their Mozilla products to these versions or later. The fix involves using ScratchDoubleScope instead of ScratchFloat32Scope in the affected code (Mozilla Advisory, Debian Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management