CVE-2022-22759
Mozilla: Sandboxed iframes could have executed script if the parent appended elements
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Red Hat (medium), Ubuntu (medium).
Description
If a document created a sandboxed iframe without <code>allow-scripts</code>, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox. This vulnerability affects Firefox < 97, Thunderbird < 91.6, and Firefox ESR < 91.6.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alma 8 | firefox, thunderbird | 91.6.0-1.el8_5.alma |
| alpine 3.15 | firefox-esr | 91.6.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 72 entries from 32 sources
| Source | Package | Fixed in |
|---|---|---|
| alma 8 | firefox | 91.6.0-1.el8_5.alma |
| alma 8 | thunderbird | 91.6.0-1.el8_5.alma |
| alpine 3.15 | firefox-esr | 91.6.0-r0 |
| alpine 3.16 | firefox | 97.0-r0 |
| alpine 3.16 | firefox-esr | 91.6.0-r0 |
| alpine 3.16 | thunderbird | 91.6.0-r0 |
| alpine 3.17 | firefox | 97.0-r0 |
| alpine 3.17 | firefox-esr | 91.6.0-r0 |
| alpine 3.17 | thunderbird | 91.6.0-r0 |
| alpine 3.18 | firefox | 97.0-r0 |
| alpine 3.18 | firefox-esr | 91.6.0-r0 |
| alpine 3.18 | thunderbird | 91.6.0-r0 |
| alpine 3.19 | firefox | 97.0-r0 |
| alpine 3.19 | firefox-esr | 91.6.0-r0 |
| alpine 3.19 | thunderbird | 91.6.0-r0 |
| alpine 3.20 | firefox | 97.0-r0 |
| alpine 3.20 | firefox-esr | 91.6.0-r0 |
| alpine 3.20 | thunderbird | 91.6.0-r0 |
| alpine 3.21 | firefox | 97.0-r0 |
| alpine 3.21 | firefox-esr | 91.6.0-r0 |
| alpine 3.21 | librewolf | 97.0-r0 |
| alpine 3.21 | thunderbird | 91.6.0-r0 |
| alpine 3.22 | firefox | 97.0-r0 |
| alpine 3.22 | firefox-esr | 91.6.0-r0 |
| alpine 3.22 | librewolf | 97.0-r0 |
| alpine 3.22 | thunderbird | 91.6.0-r0 |
| alpine 3.23 | firefox | 97.0-r0 |
| alpine 3.23 | firefox-esr | 91.6.0-r0 |
| alpine 3.23 | librewolf | 97.0-r0 |
| alpine 3.23 | thunderbird | 91.6.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.6.0esr-1~deb10u1 |
| debian 10 | thunderbird | 1:91.6.0-1~deb10u1 |
| debian 11 | firefox-esr | 91.6.0esr-1~deb11u1 |
| debian 11 | thunderbird | 1:91.6.0-1~deb11u1 |
| debian 12 | firefox-esr | 91.6.0esr-1 |
| debian 12 | thunderbird | 1:91.6.0-1 |
| debian 13 | firefox-esr | 91.6.0esr-1 |
| debian 13 | thunderbird | 1:91.6.0-1 |
| debian 14 | firefox-esr | 91.6.0esr-1 |
| debian 14 | thunderbird | 1:91.6.0-1 |
| debian 9 | firefox-esr | 91.6.0esr-1~deb9u1 |
| debian 9 | thunderbird | 1:91.6.0-1~deb9u1 |
| echo | firefox-esr | 91.6.0esr-1 |
| echo | thunderbird | 1:91.6.0-1 |
| Oracle Linux 7 | firefox | 91.6.0-1.0.1.el7_9 |
| Oracle Linux 7 | thunderbird | 91.6.0-1.0.1.el7_9 |
| Oracle Linux 8 | firefox | 91.6.0-1.0.1.el8_5 |
| Oracle Linux 8 | thunderbird | 91.6.0-1.0.1.el8_5 |
| Red Hat | firefox | no fix listed |
| Red Hat | thunderbird | no fix listed |
| rocky 8 | firefox | 91.6.0-1.el8_5 |
| rocky 8 | thunderbird | 91.6.0-1.el8_5 |
| ubuntu 18.04 | firefox | 97.0+build2-0ubuntu0.18.04.1 |
| ubuntu 18.04 | thunderbird | 1:91.7.0+build2-0ubuntu0.18.04.1 |
| ubuntu 20.04 | firefox | 97.0+build2-0ubuntu0.20.04.1 |
| ubuntu 20.04 | thunderbird | 1:91.7.0+build2-0ubuntu0.20.04.1 |
| ubuntu 21.10 | firefox | 97.0+build2-0ubuntu0.21.10.1 |
| ubuntu 21.10 | thunderbird | 1:91.7.0+build2-0ubuntu0.21.10.1 |
| ubuntu 22.04 | firefox | 97.0+build2-0ubuntu1 |
| ubuntu 22.04 | thunderbird | 1:91.6.1+build1-0ubuntu1 |
| ubuntu 22.10 | firefox | 97.0+build2-0ubuntu1 |
| ubuntu 22.10 | thunderbird | 1:91.6.1+build1-0ubuntu1 |
| ubuntu 23.04 | firefox | 97.0+build2-0ubuntu1 |
| ubuntu 23.04 | thunderbird | 1:91.6.1+build1-0ubuntu1 |
| ubuntu 23.10 | firefox | 97.0+build2-0ubuntu1 |
| ubuntu 23.10 | thunderbird | 1:91.6.1+build1-0ubuntu1 |
| ubuntu 24.04 | firefox | 97.0+build2-0ubuntu1 |
| ubuntu 24.04 | thunderbird | 1:91.6.1+build1-0ubuntu1 |
References
- https://access.redhat.com/errata/RHSA-2022:0535
- https://access.redhat.com/security/cve/CVE-2022-22759
- https://bugzilla.mozilla.org/show_bug.cgi?id=1739957
- https://bugzilla.redhat.com/show_bug.cgi?id=2053236
- https://bugzilla.redhat.com/show_bug.cgi?id=2053237
- https://bugzilla.redhat.com/show_bug.cgi?id=2053238
- https://bugzilla.redhat.com/show_bug.cgi?id=2053239
- https://bugzilla.redhat.com/show_bug.cgi?id=2053240
All 31 references
- https://bugzilla.redhat.com/show_bug.cgi?id=2053242
- https://bugzilla.redhat.com/show_bug.cgi?id=2053243
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22754
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22756
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22759
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22760
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22761
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22763
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22764
- https://errata.rockylinux.org/RLSA-2022:0535
- https://linux.oracle.com/cve/CVE-2022-22759.html
- https://linux.oracle.com/errata/ELSA-2022-0538.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-22759
- https://ubuntu.com/security/notices/USN-5284-1
- https://ubuntu.com/security/notices/USN-5345-1
- https://www.cve.org/CVERecord?id=CVE-2022-22759
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-04/#CVE-2022-22759
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-05/#CVE-2022-22759
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-06/#CVE-2022-22759
- https://www.mozilla.org/security/advisories/mfsa2022-04/
- https://www.mozilla.org/security/advisories/mfsa2022-05/
- https://www.mozilla.org/security/advisories/mfsa2022-06/