CVE-2022-40959 Security feature bypass in Firefox

Medium 6.5 Published Updated

Attackers can bypass FeaturePolicy restrictions to leak device permissions into untrusted subdocuments during iframe navigation in Firefox and Thunderbird.

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-40959?

CVE-2022-40959 is a medium-severity 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

During iframe navigation, certain pages did not have their FeaturePolicy fully initialized leading to a bypass that leaked device permissions into untrusted subdocuments. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.

Weakness: CWE-922

Which versions are affected by CVE-2022-40959?

It affects 3 products.

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

How do I fix CVE-2022-40959?

Upgrade to a fixed version.

Is CVE-2022-40959 being exploited?

There is no known exploitation of CVE-2022-40959 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-40959, GHSA-pc7h-fmrf-pp2j, UBUNTU-CVE-2022-40959.

Is CVE-2022-40959 in your software?

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

Check your SBOMs for free