CVE-2022-1097 Use after free in Firefox

Medium 6.5 Published Updated

A use-after-free vulnerability in NSSToken objects allows attackers to cause a crash or potentially execute arbitrary code via unsafe thread access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-1097?

CVE-2022-1097 is a medium-severity use after free vulnerability in Mozilla Firefox, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

<code>NSSToken</code> objects were referenced via direct points, and could have been accessed in an unsafe way on different threads, leading to a use-after-free and potentially exploitable crash. This vulnerability affects Thunderbird < 91.8, Firefox < 99, and Firefox ESR < 91.8.

Weakness: CWE-416

Which versions are affected by CVE-2022-1097?

It affects 3 products.

Linux distribution packages (40)
mozilla-nss SUSE:Enterprise Storage 6All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Enterprise Storage 7All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:HPE Helion OpenStack 8All versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Micro 5.0All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Micro 5.1All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Micro 5.2All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Module for Server Applications 15 SP3All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Point of Sale 11 SP3All versions3.68.3-47.25.1
mozilla-nss SUSE:Linux Enterprise Real Time 15 SP2All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions3.68.3-47.25.1
mozilla-nss SUSE:Linux Enterprise Server 12 SP2-BCLAll versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server 12 SP3-BCLAll versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server 12 SP5All versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server 15 SP1-BCLAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server 15 SP2-BCLAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server 15-LTSSAll versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions3.68.3-58.69.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 15All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Linux Enterprise Software Development Kit 12 SP5All versions3.68.3-58.69.1
mozilla-nss SUSE:Manager Proxy 4.1All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Manager Retail Branch Server 4.1All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:Manager Server 4.1All versions3.68.3-150000.3.67.1
mozilla-nss SUSE:OpenStack Cloud 8All versions3.68.3-58.69.1
mozilla-nss SUSE:OpenStack Cloud 9All versions3.68.3-58.69.1
mozilla-nss SUSE:OpenStack Cloud Crowbar 8All versions3.68.3-58.69.1

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2022-1097?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-1097 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-1097 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as ALPINE-CVE-2022-1097, DEBIAN-CVE-2022-1097, GHSA-5hr7-vh78-qh58, SUSE-SU-2022:1113-1, SUSE-SU-2022:1149-1, SUSE-SU-2022:14936-1 and 1 more.

Is CVE-2022-1097 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free