CVE-2022-40956
When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | firefox | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | thunderbird | Fixed | 1:102.4.2+build2-0ubuntu0.22.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu 20.04 | firefox | Fixed | 105.0+build2-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu 20.04 | thunderbird | Fixed | 1:102.4.2+build2-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu 18.04 | firefox | Fixed | 105.0+build2-0ubuntu0.18.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu 18.04 | thunderbird | Fixed | 1:102.4.2+build2-0ubuntu0.18.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu 16.04 | firefox | Fix pending | ||
| Ubuntu 16.04 | thunderbird | Fix pending | ||
| Ubuntu 14.04 | firefox | Fix pending | ||
| Ubuntu 14.04 | thunderbird | Fix pending | ||
| Debian 14 | firefox-esr | Fixed | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian 14 | thunderbird | Fixed | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Debian 13 | firefox-esr | Fixed | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian 13 | thunderbird | Fixed | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Debian 12 | firefox-esr | Fixed | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian 12 | thunderbird | Fixed | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Red Hat Enterprise Linux 9 | firefox | Fixed | 0:102.3.0-6.el9_0 | RHSA-2022:6700 |
| Red Hat Enterprise Linux 9 | thunderbird | Fixed | 0:102.3.0-3.el9_0 | RHSA-2022:6717 |
| Red Hat Enterprise Linux 8 | firefox | Fixed | 0:102.3.0-6.el8_6 | RHSA-2022:6702 |
| Red Hat Enterprise Linux 8 | thunderbird | Fixed | 0:102.3.0-3.el8_6 | RHSA-2022:6708 |
| Red Hat Enterprise Linux 7 | firefox | Fixed | 0:102.3.0-6.el7_9 | RHSA-2022:6711 |
| Red Hat Enterprise Linux 7 | thunderbird | Fixed | 0:102.3.0-3.el7_9 | RHSA-2022:6710 |
| Red Hat Enterprise Linux 6 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix Out of support scope | ||
| AlmaLinux 9 | firefox | Fixed | 102.3.0-6.el9_0.alma | ALSA-2022:6700 |
| AlmaLinux 9 | thunderbird | Fixed | 102.3.0-3.el9_0.alma | ALSA-2022:6717 |
| AlmaLinux 8 | firefox | Fixed | 102.3.0-6.el8_6.alma | ALSA-2022:6702 |
| AlmaLinux 8 | thunderbird | Fixed | 102.3.0-3.el8_6.alma | ALSA-2022:6708 |
| Rocky Linux 8 | firefox | Fixed | 0:102.3.0-6.el8_6 | RLSA-2022:6702 |
| Rocky Linux 8 | thunderbird | Fixed | 0:102.3.0-3.el8_6 | RLSA-2022:6708 |
| Alpine Linux 3.23 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine Linux 3.22 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine Linux 3.21 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine Linux 3.20 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine Linux 3.19 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine Linux 3.18 | firefox-esr | Fixed | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
What the vendor says
As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Mozilla Firefox ESR: affected: unspecified to before 102.3; fixed in
102.3 - Mozilla Thunderbird: affected: unspecified to before 102.3; fixed in
102.3 - Mozilla Firefox: affected: unspecified to before 105; fixed in
105
References
- https://www.mozilla.org/security/advisories/mfsa2022-40/
- https://www.mozilla.org/security/advisories/mfsa2022-41/
- https://www.mozilla.org/security/advisories/mfsa2022-42/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1770094
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.