Vulnerability · Published Sep 11, 2023 · Assigned by mozilla
CVE-2023-4578Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception
Medium 6.5
In plain English
A medium-severity security flaw in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
When calling `JS::CheckRegExpSyntax` a Syntax Error could have been set which would end in calling `convertToRuntimeErrorAndClear`. A path in the function could attempt to allocate memory when none is available which would have caused a newly created Out of Memory exception to be mishandled as a Syntax Error. This vulnerability affects Firefox < 117, Firefox ESR < 115.2, and Thunderbird < 115.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | firefox | 102.15.0-1.el8_8.alma | ALSA-2023:4952 |
| AlmaLinux:9 | firefox | 102.15.0-1.el9_2.alma | ALSA-2023:4958 |
| AlmaLinux:9 | firefox-x11 | 102.15.0-1.el9_2.alma | ALSA-2023:4958 |
| AlmaLinux:8 | thunderbird | 102.15.0-1.el8_8.alma | ALSA-2023:4954 |
| AlmaLinux:9 | thunderbird | 102.15.0-1.el9_2.alma | ALSA-2023:4955 |
| Alpine:v3.20 | firefox-esr | 115.2.0-r0 | ALPINE-CVE-2023-4578 |
| Alpine:v3.21 | firefox-esr | 115.2.0-r0 | ALPINE-CVE-2023-4578 |
| Alpine:v3.22 | firefox-esr | 115.2.0-r0 | ALPINE-CVE-2023-4578 |
| Alpine:v3.23 | firefox-esr | 115.2.0-r0 | ALPINE-CVE-2023-4578 |
| Debian:13 | firefox-esr | 115.2.0esr-1 | DEBIAN-CVE-2023-4578 |
| Debian:14 | firefox-esr | 115.2.0esr-1 | DEBIAN-CVE-2023-4578 |
| Debian:13 | thunderbird | 1:115.2.0-1 | DEBIAN-CVE-2023-4578 |
| Debian:14 | thunderbird | 1:115.2.0-1 | DEBIAN-CVE-2023-4578 |
| Rocky Linux:8 | firefox | 0:102.15.0-1.el8_8 | RLSA-2023:4952 |
| Rocky Linux:8 | thunderbird | 0:102.15.0-1.el8_8 | RLSA-2023:4954 |
| Ubuntu:22.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2023-4578 |
| Ubuntu:24.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2023-4578 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2023-4578 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2023-4578 |
| Ubuntu:22.04:LTS | thunderbird | 1:115.3.1+build1-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-4578 |
| Ubuntu:22.04:LTS | thunderbird | 1:115.3.1+build1-0ubuntu0.22.04.2 | USN-6405-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | unspecified – before 117 |
| Mozilla | Firefox ESR | unspecified – before 115.2 |
| Mozilla | Thunderbird | unspecified – before 115.2 |