Mozilla Foundation Security Advisory 2022-40

Security Vulnerabilities fixed in Firefox 105

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

This advisory was updated December 13, 2022 to add CVE-2022-46880. This fix was included in the original release of Firefox 105, but did not appear in the advisory published at that time.

#CVE-2022-3266: Out of bounds read when decoding H264

Reporter
Willy R. Vasquez at UT Austin
Impact
high
Description

An out-of-bounds read can occur when decoding H264 video. This results in a potentially exploitable crash.

References

#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-46880: Use-after-free in WebGL

Reporter
Atte Kettunen
Impact
high
Description

A missing check related to tex units could have led to a use-after-free and potentially exploitable crash.
Note: This advisory was added on December 13th, 2022 after we better understood the impact of the issue. The fix was included in the original release of Firefox 105.

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, 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