Mozilla Foundation Security Advisory 2022-13

Security Vulnerabilities fixed in Firefox 99

Announced
April 5, 2022
Impact
high
Products
Firefox
Fixed in
  • Firefox 99

#CVE-2022-1097: Use-after-free in NSSToken objects

Reporter
Randell Jesup
Impact
high
Description

NSSToken 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.

References

#CVE-2022-28281: Out of bounds write due to unexpected WebAuthN Extensions

Reporter
Axel '0vercl0k' Souchet
Impact
high
Description

If a compromised content process sent an unexpected number of WebAuthN Extensions in a Register command to the parent process, an out of bounds write would have occurred leading to memory corruption and a potentially exploitable crash.

References

#CVE-2022-28282: Use-after-free in DocumentL10n::TranslateDocument

Reporter
Kirin
Impact
moderate
Description

By using a link with rel="localization" a use-after-free could have been triggered by destroying an object during JavaScript execution and then referencing the object through a freed pointer, leading to a potentially exploitable crash.

References

#CVE-2022-28283: Missing security checks for fetching sourceMapURL

Reporter
Gijs
Impact
moderate
Description

The sourceMapURL feature in devtools was missing security checks that would have allowed a webpage to attempt to include local files or other files that should have been inaccessible.

References

#CVE-2022-28284: Script could be executed via svg's use element

Reporter
Leo Balter
Impact
moderate
Description

SVG's <use> element could have been used to load unexpected content that could have executed script in certain circumstances. While the specification seems to allow this, other browsers do not, and web developers relied on this property for script security so gecko's implementation was aligned with theirs.

References

#CVE-2022-28285: Incorrect AliasSet used in JIT Codegen

Reporter
Lukas Bernhard
Impact
moderate
Description

When generating the assembly code for MLoadTypedArrayElementHole, an incorrect AliasSet was used. In conjunction with another vulnerability this could have been used for an out of bounds memory read.

References

#CVE-2022-28286: iframe contents could be rendered outside the border

Reporter
prada960808
Impact
low
Description

Due to a layout change, iframe contents could have been rendered outside of its border. This could have led to user confusion or spoofing attacks.

References

#CVE-2022-28287: Text Selection could crash Firefox

Reporter
Aryan Sinha
Impact
low
Description

In unusual circumstances, selecting text could cause text selection caching to behave incorrectly, leading to a crash.

References

#CVE-2022-24713: Denial of Service via complex regular expressions

Reporter
Addison Crump and Jan-Erik Rediger
Impact
low
Description

The rust regex crate did not properly prevent crafted regular expressions from taking an arbitrary amount of time during parsing. If an attacker was able to supply input to this crate, they could have caused a denial of service in the browser.

References

#CVE-2022-28289: Memory safety bugs fixed in Firefox 99 and Firefox ESR 91.8

Reporter
Mozilla developers
Impact
high
Description

Mozilla developers and community members Nika Layzell, Andrew McCreight, Gabriele Svelto, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 98 and Firefox ESR 91.7. 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

#CVE-2022-28288: Memory safety bugs fixed in Firefox 99

Reporter
Mozilla developers
Impact
moderate
Description

Mozilla developers and community members Randell Jesup, Sebastian Hengst, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 98. 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