Security Vulnerabilities fixed in Firefox 105

Mozilla Foundation Security Advisory 2022-40

Security Vulnerabilities fixed in Firefox 105

Announced
September 20, 2022
Impact
high
Products
Firefox
Fixed in
  • Firefox 105

#CVE-2022-40959: Bypassing FeaturePolicy restrictions on transient pages

Reporter
Armin Ebert
Impact
high
Description

During iframe navigation, certain pages did not have their FeaturePolicy fully initialized leading to a bypass that leaked device permissions into untrusted subdocuments.

References

#CVE-2022-40960: Data-race when parsing non-UTF-8 URLs in threads

Reporter
Armin Ebert
Impact
high
Description

Concurrent use of the URL parser with non-UTF-8 data was not thread-safe. This could lead to a use-after-free causing a potentially exploitable crash.

References

#CVE-2022-40958: Bypassing Secure Context restriction for cookies with __Host and __Secure prefix

Reporter
Axel Chong (@Haxatron)
Impact
moderate
Description

By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus overwrite cookies from a secure context, leading to session fixation and other attacks.

References

#CVE-2022-40961: Stack-buffer overflow when initializing Graphics

Reporter
Mozilla Fuzzing Team
Impact
moderate
Description

During startup, a graphics driver with an unexpected name could lead to a stack-buffer overflow causing a potentially exploitable crash.
This issue only affects Firefox for Android. Other operating systems are not affected.

References

#CVE-2022-40956: Content-Security-Policy base-uri bypass

Reporter
Satoki Tsuji
Impact
low
Description

When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead.

References

#CVE-2022-40957: Incoherent instruction cache when building WASM on ARM64

Reporter
Gary Kwong
Impact
low
Description

Inconsistent data in instruction and data cache when creating wasm code could lead to a potentially exploitable crash.
This bug only affects Firefox on ARM64 platforms.

References

#CVE-2022-40962: Memory safety bugs fixed in Firefox 105 and Firefox ESR 102.3

Reporter
Mozilla developers and community
Impact
high
Description

Mozilla developers Nika Layzell, Timothy Nikkel, Jeff Muizelaar, Sebastian Hengst, Andreas Pehrson, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 104 and Firefox ESR 102.2. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code.

References