CVE-2023-4578

NameCVE-2023-4578
DescriptionWhen 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid133.0.3-1fixed
firefox-esr (PTS)bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.5.0esr-1~deb11u1fixed
bookworm128.3.1esr-1~deb12u1fixed
bookworm (security)128.5.0esr-1~deb12u1fixed
trixie128.5.0esr-1fixed
sid128.5.1esr-1fixed
thunderbird (PTS)bullseye1:115.12.0-1~deb11u1fixed
bullseye (security)1:128.5.0esr-1~deb11u1fixed
bookworm1:115.16.0esr-1~deb12u1fixed
bookworm (security)1:128.5.0esr-1~deb12u1fixed
sid, trixie1:128.5.2esr-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)117.0-1
firefox-esrsourcebuster(not affected)
firefox-esrsourcebullseye(not affected)
firefox-esrsourcebookworm(not affected)
firefox-esrsource(unstable)115.2.0esr-1
thunderbirdsourcebuster(not affected)
thunderbirdsourcebullseye(not affected)
thunderbirdsourcebookworm(not affected)
thunderbirdsource(unstable)1:115.2.0-1

Notes

[bookworm] - firefox-esr <not-affected> (ESR 102 not affected)
[bullseye] - firefox-esr <not-affected> (ESR 102 not affected)
[buster] - firefox-esr <not-affected> (ESR 102 not affected)
[bookworm] - thunderbird <not-affected> (ESR 102 not affected)
[bullseye] - thunderbird <not-affected> (ESR 102 not affected)
[buster] - thunderbird <not-affected> (ESR 102 not affected)
https://www.mozilla.org/en-US/security/advisories/mfsa2023-34/#CVE-2023-4578
https://www.mozilla.org/en-US/security/advisories/mfsa2023-36/#CVE-2023-4578
https://www.mozilla.org/en-US/security/advisories/mfsa2023-38/#CVE-2023-4578

Search for package or bug name: Reporting problems