CVEfocus › CVE database › CVE-2022-31745

CVE-2022-31745

CVSS 4.3 MediumEPSS 0.4% (higher than 29% of CVEs)Published 2022-12-22Updated 2025-04-15Assigner: mozilla

If array shift operations are not used, the Garbage Collector may have become confused about valid objects. This vulnerability affects Firefox < 101.

CWE-129

What to do

Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
8Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04mozjs78Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 22.04mozjs91Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 20.04firefoxFixed101.0.1+build1-0ubuntu0.20.04.1UBUNTU-CVE-2022-31745
Ubuntu 20.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 20.04mozjs68Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 18.04firefoxFixed101.0.1+build1-0ubuntu0.18.04.1UBUNTU-CVE-2022-31745
Ubuntu 18.04mozjs38Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 18.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
UBUNTU-CVE-2022-31745
Ubuntu 16.04firefoxWill not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
Ubuntu 14.04firefoxWill not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine starting with Ubuntu 22.04, the firefox package is just a script that installs the Firefox snap
Alpine Linux 3.24librewolfFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.23firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.23librewolfFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.22firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.22librewolfFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.21firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.21librewolfFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.20firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.19firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.18firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.17firefoxFixed101.0-r0ALPINE-CVE-2022-31745
Alpine Linux 3.16firefoxFixed101.0-r0ALPINE-CVE-2022-31745

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.