CVE-2023-4578

medium

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.

References

https://www.mozilla.org/security/advisories/mfsa2023-38/

https://www.mozilla.org/security/advisories/mfsa2023-36/

https://www.mozilla.org/security/advisories/mfsa2023-34/

https://bugzilla.mozilla.org/show_bug.cgi?id=1839007

Details

Source: Mitre, NVD

Published: 2023-09-11

Updated: 2023-09-14

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium