CVE-2022-40958: Medium severity Mozilla Thunderbird vulnerability

Published Sep 20, 2022
·
Updated

By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus overwrite cookies from a secure context, leading to session fixation and other attacks.

Affected Software

21 affected componentsFixes available
Mozilla Thunderbird<102.3
102.3
Mozilla Firefox<105.0
Mozilla Firefox ESR<102.3
Mozilla Thunderbird<102.3
Mozilla Firefox ESR<102.3
102.3
Mozilla Firefox<105
105
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
debian/firefox
159.0.1-1
debian/firefox-esr
140.12.0esr-1~deb12u1153.6.0esr-1~deb12u2140.15.0esr-1~deb13u1153.6.0esr-1~deb13u1153.5.1esr-1153.6.0esr-1
debian/thunderbird
1:140.12.0esr-1~deb12u11:153.6.0esr-1~deb12u21:140.12.0esr-1~deb13u11:153.6.0esr-1~deb13u11:153.5.0esr-11:153.6.0esr-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 102.3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 102.3
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 105
  4. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.3.0-r0
  5. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.3.0esr-1
  6. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.3.0-1
  7. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 159.0.1-1
  8. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 140.12.0esr-1~deb12u1Fixed in 153.6.0esr-1~deb12u2Fixed in 140.15.0esr-1~deb13u1Fixed in 153.6.0esr-1~deb13u1Fixed in 153.5.1esr-1Fixed in 153.6.0esr-1
  9. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:140.12.0esr-1~deb12u1Fixed in 1:153.6.0esr-1~deb12u2Fixed in 1:140.12.0esr-1~deb13u1Fixed in 1:153.6.0esr-1~deb13u1Fixed in 1:153.5.0esr-1Fixed in 1:153.6.0esr-1

Event History

Sep 20, 2022
CVE Published
12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Dec 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2022-40958.

2

What is the severity level of CVE-2022-40958?

The severity level of CVE-2022-40958 is medium.

3

Which software products are affected by CVE-2022-40958?

CVE-2022-40958 affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.

4

How can an attacker exploit CVE-2022-40958?

An attacker can exploit CVE-2022-40958 by injecting a cookie with certain special characters on a shared subdomain to set and overwrite cookies from a secure context.

5

Are there any known remediation steps for CVE-2022-40958?

Yes, updating to Firefox ESR version 102.3 or higher, Thunderbird version 102.3 or higher, or Firefox version 105 or higher will remediate CVE-2022-40958.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203