CVE-2022-45406
Mozilla: Use-after-free of a JavaScript Realm
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
Description
If an out-of-memory condition occurred when creating a JavaScript global, a JavaScript realm may be deleted while references to it lived on in a BaseShape. This could lead to a use-after-free causing a potentially exploitable crash. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 5.0 | mozjs, mozjs-devel | 102.12.0-1.ph5 |
| alma 8 | firefox, thunderbird | 102.5.0-1.el8_7.alma and 1 more |
| alma 9 | firefox, thunderbird | 102.5.0-1.el9_1.alma and 1 more |
| alpine 3.18 | firefox-esr | 102.5.0-r0 |
| alpine 3.19 | firefox-esr | 102.5.0-r0 |
| alpine 3.20 | firefox-esr | 102.5.0-r0 |
| alpine 3.21 | firefox-esr | 102.5.0-r0 |
| alpine 3.22 | firefox-esr | 102.5.0-r0 |
| alpine 3.23 | firefox-esr | 102.5.0-r0 |
| debian 10 | firefox-esr, thunderbird | 102.5.0esr-1~deb10u1 and 1 more |
| debian 11 | firefox-esr, thunderbird | 102.5.0esr-1~deb11u1 and 1 more |
| debian 12 | firefox-esr, thunderbird | 102.5.0esr-1 and 1 more |
Show all 43 entries from 28 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 5.0 | mozjs | 102.12.0-1.ph5 |
| Photon OS 5.0 | mozjs-devel | 102.12.0-1.ph5 |
| alma 8 | firefox | 102.5.0-1.el8_7.alma |
| alma 8 | thunderbird | 102.5.0-2.el8_7.alma |
| alma 9 | firefox | 102.5.0-1.el9_1.alma |
| alma 9 | thunderbird | 102.5.0-2.el9_1.alma |
| alpine 3.18 | firefox-esr | 102.5.0-r0 |
| alpine 3.19 | firefox-esr | 102.5.0-r0 |
| alpine 3.20 | firefox-esr | 102.5.0-r0 |
| alpine 3.21 | firefox-esr | 102.5.0-r0 |
| alpine 3.22 | firefox-esr | 102.5.0-r0 |
| alpine 3.23 | firefox-esr | 102.5.0-r0 |
| debian 10 | firefox-esr | 102.5.0esr-1~deb10u1 |
| debian 10 | thunderbird | 1:102.5.0-1~deb10u1 |
| debian 11 | firefox-esr | 102.5.0esr-1~deb11u1 |
| debian 11 | thunderbird | 1:102.5.0-1~deb11u1 |
| debian 12 | firefox-esr | 102.5.0esr-1 |
| debian 12 | thunderbird | 1:102.5.0-1 |
| debian 13 | firefox-esr | 102.5.0esr-1 |
| debian 13 | thunderbird | 1:102.5.0-1 |
| debian 14 | firefox-esr | 102.5.0esr-1 |
| debian 14 | thunderbird | 1:102.5.0-1 |
| echo | firefox-esr | 102.5.0esr-1 |
| echo | thunderbird | 1:102.5.0-1 |
| Oracle Linux 7 | firefox | 102.5.0-1.0.1.el7_9 |
| Oracle Linux 7 | thunderbird | 102.5.0-2.0.1.el7_9 |
| Oracle Linux 8 | firefox | 102.5.0-1.0.1.el8_7 |
| Oracle Linux 8 | thunderbird | 102.5.0-2.0.1.el8_7 |
| Oracle Linux 9 | firefox | 102.5.0-1.0.1.el9_1 |
| Oracle Linux 9 | thunderbird | 102.5.0-2.0.1.el9_1 |
| rapidfort Oracle Linux 9 | firefox | 0:102.5.0-1.0.1.el9_1 |
| rapidfort Oracle Linux 9 | thunderbird | 0:102.5.0-2.0.1.el9_1 |
| Red Hat | firefox | no fix listed |
| Red Hat | thunderbird | no fix listed |
| rocky 8 | firefox | 102.5.0-1.el8_7 |
| rocky 8 | thunderbird | 102.5.0-2.el8_7 |
| ubuntu 18.04 | thunderbird | 1:102.7.1+build2-0ubuntu0.18.04.1 |
| ubuntu 20.04 | thunderbird | 1:102.7.1+build2-0ubuntu0.20.04.1 |
| ubuntu 22.04 | thunderbird | 1:102.7.1+build2-0ubuntu0.22.04.1 |
| ubuntu 22.10 | thunderbird | 1:102.7.1+build2-0ubuntu0.22.10.1 |
| ubuntu 23.04 | thunderbird | 1:102.7.1+build2-0ubuntu1 |
| ubuntu 23.10 | thunderbird | 1:102.7.1+build2-0ubuntu1 |
| ubuntu 24.04 | thunderbird | 1:102.7.1+build2-0ubuntu1 |
References
- https://access.redhat.com/errata/RHSA-2022:8580
- https://access.redhat.com/security/cve/CVE-2022-45406
- https://bugzilla.mozilla.org/show_bug.cgi?id=1791975
- https://bugzilla.redhat.com/2143197
- https://bugzilla.redhat.com/2143198
- https://bugzilla.redhat.com/2143199
- https://bugzilla.redhat.com/2143200
- https://bugzilla.redhat.com/2143201
All 56 references
- https://bugzilla.redhat.com/2143202
- https://bugzilla.redhat.com/2143203
- https://bugzilla.redhat.com/2143204
- https://bugzilla.redhat.com/2143205
- https://bugzilla.redhat.com/2143240
- https://bugzilla.redhat.com/2143241
- https://bugzilla.redhat.com/2143242
- https://bugzilla.redhat.com/2143243
- https://bugzilla.redhat.com/show_bug.cgi?id=2143197
- https://bugzilla.redhat.com/show_bug.cgi?id=2143198
- https://bugzilla.redhat.com/show_bug.cgi?id=2143199
- https://bugzilla.redhat.com/show_bug.cgi?id=2143200
- https://bugzilla.redhat.com/show_bug.cgi?id=2143201
- https://bugzilla.redhat.com/show_bug.cgi?id=2143202
- https://bugzilla.redhat.com/show_bug.cgi?id=2143203
- https://bugzilla.redhat.com/show_bug.cgi?id=2143204
- https://bugzilla.redhat.com/show_bug.cgi?id=2143205
- https://bugzilla.redhat.com/show_bug.cgi?id=2143240
- https://bugzilla.redhat.com/show_bug.cgi?id=2143241
- https://bugzilla.redhat.com/show_bug.cgi?id=2143242
- https://bugzilla.redhat.com/show_bug.cgi?id=2143243
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45403
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45404
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45405
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45406
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45408
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45409
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45410
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45411
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45412
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45416
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45418
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45420
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45421
- https://errata.almalinux.org/9/ALSA-2022-8580.html
- https://errata.rockylinux.org/RLSA-2022:8554
- https://linux.oracle.com/cve/CVE-2022-45406.html
- https://linux.oracle.com/errata/ELSA-2022-8580.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-45406
- https://ubuntu.com/security/notices/USN-5726-1
- https://ubuntu.com/security/notices/USN-5824-1
- https://www.cve.org/CVERecord?id=CVE-2022-45406
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-47/#CVE-2022-45406
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-48/#CVE-2022-45406
- https://www.mozilla.org/en-US/security/advisories/mfsa2022-49/#CVE-2022-45406
- https://www.mozilla.org/security/advisories/mfsa2022-47/
- https://www.mozilla.org/security/advisories/mfsa2022-48/
- https://www.mozilla.org/security/advisories/mfsa2022-49/