Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | < 117.0 |
| Mozilla | Firefox Esr | < 115.2 |
| Mozilla | Thunderbird | < 115.2 |
Related Weaknesses (CWE)
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1839007Issue TrackingPermissions Required
- https://www.mozilla.org/security/advisories/mfsa2023-34/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2023-36/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2023-38/Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1839007Issue TrackingPermissions Required
- https://www.mozilla.org/security/advisories/mfsa2023-34/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2023-36/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2023-38/Vendor Advisory
FAQ
What is CVE-2023-4578?
CVE-2023-4578 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2023-4578?
CVE-2023-4578 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-4578?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.