MGASA-2021-0505 - Updated firefox packages fix security vulnerability

Publication date: 10 Nov 2021
URL: https://advisories.mageia.org/MGASA-2021-0505.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-38503,
     CVE-2021-38504,
     CVE-2021-38506,
     CVE-2021-38507,
     CVE-2021-38508,
     CVE-2021-38509

The iframe sandbox rules were not correctly applied to XSLT stylesheets,
allowing an iframe to bypass restrictions such as executing scripts or
navigating the top-level frame (CVE-2021-38503).

When interacting with an HTML input element's file picker dialog with
webkitdirectory set, a use-after-free could have resulted, leading to memory
corruption and a potentially exploitable crash (CVE-2021-38504).

Through a series of navigations, Firefox could have entered fullscreen mode
without notification or warning to the user. This could lead to spoofing
attacks on the browser UI including phishing (CVE-2021-38506).

The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection
to be transparently upgraded to TLS while retaining the visual properties of
an HTTP connection, including being same-origin with unencrypted connections
on port 80. However, if a second encrypted port on the same IP address (e.g.
port 8443) did not opt-in to opportunistic encryption; a network attacker
could forward a connection from the browser to port 443 to port 8443, causing
the browser to treat the content of port 8443 as same-origin with HTTP. This
was resolved by disabling the Opportunistic Encryption feature, which had low
usage (CVE-2021-38507).

A use-after-free could have occured when an HTTP2 session object was released
on a different thread, leading to memory corruption and a potentially
exploitable crash (MOZ-2021-0008).

By displaying a form validity message in the correct location at the same time
as a permission prompt (such as for geolocation), the validity message could
have obscured the prompt, resulting in the user potentially being tricked into
granting the permission (CVE-2021-38508).

Due to an unusual sequence of attacker-controlled events, a Javascript alert()
dialog with arbitrary (although unstyled) contents could be displayed over top
an uncontrolled webpage of the attacker's choosing (CVE-2021-38509).

Mozilla developers and community members Christian Holler, Valentin Gosu, and
Andrew McCreight reported memory safety bugs present in Firefox ESR 91.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
(MOZ-2021-0007).

References:
- https://bugs.mageia.org/show_bug.cgi?id=29621
- https://www.mozilla.org/en-US/security/advisories/mfsa2021-49/
- https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_72.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38503
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38504
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38506
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38507
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38508
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38509

SRPMS:
- 8/core/firefox-91.3.0-1.mga8
- 8/core/firefox-l10n-91.3.0-1.mga8
- 8/core/nss-3.72.0-1.mga8