CVE-2021-4140
Mozilla: Iframe sandbox bypass with XSLT
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
Description
It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox. This vulnerability affects Firefox ESR < 91.5, Firefox < 96, and Thunderbird < 91.5.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alma 8 | firefox, thunderbird | 91.5.0-1.el8_5.alma |
| alpine 3.15 | firefox-esr | 91.5.0-r0 |
| alpine 3.16 | firefox, firefox-esr, thunderbird | 97.0-r0 and 1 more |
| alpine 3.17 | firefox, firefox-esr, thunderbird | 97.0-r0 and 1 more |
| alpine 3.18 | firefox, firefox-esr, thunderbird | 97.0-r0 and 1 more |
| alpine 3.19 | firefox, firefox-esr, thunderbird | 97.0-r0 and 1 more |
| alpine 3.20 | firefox, firefox-esr, thunderbird | 97.0-r0 and 1 more |
| alpine 3.21 | firefox, firefox-esr, librewolf and 1 more | 97.0-r0 and 1 more |
| alpine 3.22 | firefox, firefox-esr, librewolf and 1 more | 97.0-r0 and 1 more |
| alpine 3.23 | firefox, firefox-esr, librewolf and 1 more | 97.0-r0 and 1 more |
| alpine 3.24 | librewolf | 97.0-r0 |
| alpine edge | librewolf | 97.0-r0 |
Show all 73 entries from 33 sources
| Source | Package | Fixed in |
|---|---|---|
| alma 8 | firefox | 91.5.0-1.el8_5.alma |
| alma 8 | thunderbird | 91.5.0-1.el8_5.alma |
| alpine 3.15 | firefox-esr | 91.5.0-r0 |
| alpine 3.16 | firefox | 97.0-r0 |
| alpine 3.16 | firefox-esr | 91.5.0-r0 |
| alpine 3.16 | thunderbird | 91.5.0-r0 |
| alpine 3.17 | firefox | 97.0-r0 |
| alpine 3.17 | firefox-esr | 91.5.0-r0 |
| alpine 3.17 | thunderbird | 91.5.0-r0 |
| alpine 3.18 | firefox | 97.0-r0 |
| alpine 3.18 | firefox-esr | 91.5.0-r0 |
| alpine 3.18 | thunderbird | 91.5.0-r0 |
| alpine 3.19 | firefox | 97.0-r0 |
| alpine 3.19 | firefox-esr | 91.5.0-r0 |
| alpine 3.19 | thunderbird | 91.5.0-r0 |
| alpine 3.20 | firefox | 97.0-r0 |
| alpine 3.20 | firefox-esr | 91.5.0-r0 |
| alpine 3.20 | thunderbird | 91.5.0-r0 |
| alpine 3.21 | firefox | 97.0-r0 |
| alpine 3.21 | firefox-esr | 91.5.0-r0 |
| alpine 3.21 | librewolf | 97.0-r0 |
| alpine 3.21 | thunderbird | 91.5.0-r0 |
| alpine 3.22 | firefox | 97.0-r0 |
| alpine 3.22 | firefox-esr | 91.5.0-r0 |
| alpine 3.22 | librewolf | 97.0-r0 |
| alpine 3.22 | thunderbird | 91.5.0-r0 |
| alpine 3.23 | firefox | 97.0-r0 |
| alpine 3.23 | firefox-esr | 91.5.0-r0 |
| alpine 3.23 | librewolf | 97.0-r0 |
| alpine 3.23 | thunderbird | 91.5.0-r0 |
| alpine 3.24 | librewolf | 97.0-r0 |
| alpine edge | librewolf | 97.0-r0 |
| amazon linux 2 | thunderbird | 91.6.0-1.amzn2.0.1 |
| amazon linux 2 | thunderbird-debuginfo | 91.6.0-1.amzn2.0.1 |
| debian 10 | firefox-esr | 91.5.0esr-1~deb10u1 |
| debian 10 | thunderbird | 1:91.5.0-2~deb10u1 |
| debian 11 | firefox-esr | 91.5.0esr-1~deb11u1 |
| debian 11 | thunderbird | 1:91.5.0-2~deb11u1 |
| debian 12 | firefox-esr | 91.5.0esr-1 |
| debian 12 | thunderbird | 1:91.5.0-1 |
| debian 13 | firefox-esr | 91.5.0esr-1 |
| debian 13 | thunderbird | 1:91.5.0-1 |
| debian 14 | firefox-esr | 91.5.0esr-1 |
| debian 14 | thunderbird | 1:91.5.0-1 |
| debian 9 | firefox-esr | 91.5.0esr-1~deb9u1 |
| debian 9 | thunderbird | 1:91.5.0-1~deb9u1 |
| echo | firefox-esr | 91.5.0esr-1 |
| echo | thunderbird | 1:91.5.0-1 |
| Oracle Linux 7 | firefox | 91.5.0-1.0.1.el7_9 |
| Oracle Linux 7 | thunderbird | 91.5.0-1.0.1.el7_9 |
| Oracle Linux 8 | firefox | 91.5.0-1.0.1.el8_5 |
| Oracle Linux 8 | thunderbird | 91.5.0-1.0.1.el8_5 |
| Red Hat | firefox | no fix listed |
| Red Hat | thunderbird | no fix listed |
| rocky 8 | firefox | 91.5.0-1.el8_5 |
| rocky 8 | thunderbird | 91.5.0-1.el8_5 |
| ubuntu 18.04 | firefox | 96.0+build2-0ubuntu0.18.04.1 |
| ubuntu 18.04 | thunderbird | 1:91.5.0+build1-0ubuntu0.18.04.1 |
| ubuntu 20.04 | firefox | 96.0+build2-0ubuntu0.20.04.1 |
| ubuntu 20.04 | thunderbird | 1:91.5.0+build1-0ubuntu0.20.04.1 |
| ubuntu 21.04 | firefox | 96.0+build2-0ubuntu0.21.04.1 |
| ubuntu 21.10 | firefox | 96.0+build2-0ubuntu0.21.10.1 |
| ubuntu 21.10 | thunderbird | 1:91.5.0+build1-0ubuntu0.21.10.1 |
| ubuntu 22.04 | firefox | 96.0+build2-0ubuntu1 |
| ubuntu 22.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 22.10 | firefox | 96.0+build2-0ubuntu1 |
| ubuntu 22.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 23.04 | firefox | 96.0+build2-0ubuntu1 |
| ubuntu 23.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 23.10 | firefox | 96.0+build2-0ubuntu1 |
| ubuntu 23.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 24.04 | firefox | 96.0+build2-0ubuntu1 |
| ubuntu 24.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
References
- https://access.redhat.com/errata/RHSA-2022:0130
- https://access.redhat.com/security/cve/CVE-2021-4140
- https://bugzilla.mozilla.org/show_bug.cgi?id=1746720
- https://bugzilla.redhat.com/show_bug.cgi?id=2039561
- https://bugzilla.redhat.com/show_bug.cgi?id=2039563
- https://bugzilla.redhat.com/show_bug.cgi?id=2039564
- https://bugzilla.redhat.com/show_bug.cgi?id=2039565
- https://bugzilla.redhat.com/show_bug.cgi?id=2039566
All 42 references
- https://bugzilla.redhat.com/show_bug.cgi?id=2039567
- https://bugzilla.redhat.com/show_bug.cgi?id=2039568
- https://bugzilla.redhat.com/show_bug.cgi?id=2039569
- https://bugzilla.redhat.com/show_bug.cgi?id=2039570
- https://bugzilla.redhat.com/show_bug.cgi?id=2039572
- https://bugzilla.redhat.com/show_bug.cgi?id=2039573
- https://bugzilla.redhat.com/show_bug.cgi?id=2039574
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4140
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22737
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22738
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22739
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22740
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22741
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22742
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22743
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22745
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22747
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22748
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22751
- https://errata.rockylinux.org/RLSA-2022:0130
- https://linux.oracle.com/cve/CVE-2021-4140.html
- https://linux.oracle.com/errata/ELSA-2022-0130.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-4140
- https://ubuntu.com/security/notices/USN-5229-1
- https://ubuntu.com/security/notices/USN-5246-1
- https://ubuntu.com/security/notices/USN-5248-1
- https://www.cve.org/CVERecord?id=CVE-2021-4140
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-01/#CVE-2021-4140
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-02/#CVE-2021-4140
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-03/#CVE-2021-4140
- https://www.mozilla.org/security/advisories/mfsa2022-01/
- https://www.mozilla.org/security/advisories/mfsa2022-02/
- https://www.mozilla.org/security/advisories/mfsa2022-03/