===================================================================== CERT-Renater Note d'Information No. 2022/VULN193 _____________________________________________________________________ DATE : 01/06/2022 HARDWARE PLATFORM(S): / OPERATING SYSTEM(S): Systems running Firefox versions prior to 101, ESR 91.10. ===================================================================== https://www.mozilla.org/en-US/security/advisories/mfsa2022-20/ https://www.mozilla.org/en-US/security/advisories/mfsa2022-21/ _____________________________________________________________________ Mozilla Foundation Security Advisory 2022-20 Security Vulnerabilities fixed in Firefox 101 Announced: May 31, 2022 Impact: high Products: Firefox Fixed in: Firefox 101 # CVE-2022-31736: Cross-Origin resource's length leaked Reporter: Luan Herrera Impact: high Description A malicious website could have learned the size of a cross-origin resource that supported Range requests. References o Bug 1735923 # CVE-2022-31737: Heap buffer overflow in WebGL Reporter: Atte Kettunen Impact: high Description A malicious webpage could have caused an out-of-bounds write in WebGL, leading to memory corruption and a potentially exploitable crash. References o Bug 1743767 # CVE-2022-31738: Browser window spoof using fullscreen mode Reporter: Irvan Kurniawan Impact: high Description When exiting fullscreen mode, an iframe could have confused the browser about the current state of fullscreen, resulting in potential user confusion or spoofing attacks. References o Bug 1756388 # CVE-2022-31739: Attacker-influenced path traversal when saving downloaded files Reporter: Chaobin Zhang Impact: high Description When downloading files on Windows, the % character was not escaped, which could have lead to a download incorrectly being saved to attacker-influenced paths that used variables such as %HOMEPATH% or %APPDATA%. This bug only affects Firefox for Windows. Other operating systems are unaffected. References o Bug 1765049 # CVE-2022-31740: Register allocation problem in WASM on arm64 Reporter: Gary Kwong Impact: high Description On arm64, WASM code could have resulted in incorrect assembly generation leading to a register allocation problem, and a potentially exploitable crash. References o Bug 1766806 # CVE-2022-31741: Uninitialized variable leads to invalid memory read Reporter: Yaniv Impact: high Description A crafted CMS message could have been processed incorrectly, leading to an invalid memory read, and potentially further memory corruption. References o Bug 1767590 # CVE-2022-31742: Querying a WebAuthn token with a large number of allowCredential entries may have leaked cross-origin information Reporter: Michal Impact: moderate Description An attacker could have exploited a timing attack by sending a large number of allowCredential entries and detecting the difference between invalid key handles and cross-origin key handles. This could have led to cross-origin account linking in violation of WebAuthn goals. References o Bug 1730434 # CVE-2022-31743: HTML Parsing incorrectly ended HTML comments prematurely Reporter: Linus Sarud Impact: moderate Description Firefox's HTML parser did not correctly interpret HTML comment tags, resulting in an incongruity with other browsers. This could have been used to escape HTML comments on pages that put user-controlled data in them. References o Bug 1747388 # CVE-2022-31744: CSP bypass enabling stylesheet injection Reporter: Gertjan Impact: moderate Description An attacker could have injected CSS into stylesheets accessible via internal URIs, such as resource:, and in doing so bypass a page's Content Security Policy. References o Bug 1757604 # CVE-2022-31745: Incorrect Assertion caused by unoptimized array shift operations Reporter: Lukas Bernhard Impact: moderate Description If array shift operations are not used, the Garbage Collector may have become confused about valid objects. References o Bug 1760944 # CVE-2022-1919: Memory Corruption when manipulating webp images Reporter: Irvan Kurniawan Impact: low Description An attacker could have caused an uninitialized variable on the stack to be mistakenly freed, causing a potentially exploitable crash. References o Bug 1761275 # CVE-2022-31747: Memory safety bugs fixed in Firefox 101 and Firefox ESR 91.10 Reporter: Mozilla developers and community Impact: high Description Mozilla developers Andrew McCreight, Nicolas B. Pierron, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 100 and Firefox ESR 91.9. 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 o Memory safety bugs fixed in Firefox 101 and Firefox ESR 91.10 # CVE-2022-31748: Memory safety bugs fixed in Firefox 101 Reporter: Mozilla developers and community Impact: high Description Mozilla developers Gabriele Svelto, Timothy Nikkel, Randell Jesup, Jon Coppeard, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 100. 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 o Memory safety bugs fixed in Firefox 101 _____________________________________________________________________ Mozilla Foundation Security Advisory 2022-21 Security Vulnerabilities fixed in Firefox ESR 91.10 Announced: May 31, 2022 Impact: high Products: Firefox ESR Fixed in: Firefox ESR 91.10 # CVE-2022-31736: Cross-Origin resource's length leaked Reporter: Luan Herrera Impact: high Description A malicious website could have learned the size of a cross-origin resource that supported Range requests. References o Bug 1735923 # CVE-2022-31737: Heap buffer overflow in WebGL Reporter: Atte Kettunen Impact: high Description A malicious webpage could have caused an out-of-bounds write in WebGL, leading to memory corruption and a potentially exploitable crash. References o Bug 1743767 # CVE-2022-31738: Browser window spoof using fullscreen mode Reporter: Irvan Kurniawan Impact: high Description When exiting fullscreen mode, an iframe could have confused the browser about the current state of fullscreen, resulting in potential user confusion or spoofing attacks. References o Bug 1756388 # CVE-2022-31739: Attacker-influenced path traversal when saving downloaded files Reporter: Chaobin Zhang Impact: high Description When downloading files on Windows, the % character was not escaped, which could have lead to a download incorrectly being saved to attacker-influenced paths that used variables such as %HOMEPATH% or %APPDATA%. This bug only affects Firefox for Windows. Other operating systems are unaffected. References o Bug 1765049 # CVE-2022-31740: Register allocation problem in WASM on arm64 Reporter: Gary Kwong Impact: high Description On arm64, WASM code could have resulted in incorrect assembly generation leading to a register allocation problem, and a potentially exploitable crash. References o Bug 1766806 # CVE-2022-31741: Uninitialized variable leads to invalid memory read Reporter: Yaniv Impact: high Description A crafted CMS message could have been processed incorrectly, leading to an invalid memory read, and potentially further memory corruption. References o Bug 1767590 # CVE-2022-31742: Querying a WebAuthn token with a large number of allowCredential entries may have leaked cross-origin information Reporter: Michal Impact: moderate Description An attacker could have exploited a timing attack by sending a large number of allowCredential entries and detecting the difference between invalid key handles and cross-origin key handles. This could have led to cross-origin account linking in violation of WebAuthn goals. References o Bug 1730434 # CVE-2022-31747: Memory safety bugs fixed in Firefox 101 and Firefox ESR 91.10 Reporter: Mozilla developers and community Impact: high Description Mozilla developers Andrew McCreight, Nicolas B. Pierron, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 100 and Firefox ESR 91.9. 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 o Memory safety bugs fixed in Firefox 101 and Firefox ESR 91.10 ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 23/25 Rue Daviel | fax : 01-53-94-20-41 + + 75013 Paris | email:cert@support.renater.fr + =========================================================