Vulnerability Description
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. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | < 105.0 |
| Mozilla | Firefox Esr | < 102.3 |
| Mozilla | Thunderbird | < 102.3 |
Related Weaknesses (CWE)
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1779993Issue TrackingPermissions Required
- https://www.mozilla.org/security/advisories/mfsa2022-40/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-41/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-42/Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1779993Issue TrackingPermissions Required
- https://www.mozilla.org/security/advisories/mfsa2022-40/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-41/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-42/Vendor Advisory
FAQ
What is CVE-2022-40958?
CVE-2022-40958 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 fi...
How severe is CVE-2022-40958?
CVE-2022-40958 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-40958?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.