CVE-2022-40958

Mozilla: Bypassing Secure Context restriction for cookies with __Host and __Secure prefix

Published Dec 22, 2022 CVSS 3.1 · 6.5 Medium EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3121-1 firefox-esr security update
Debian DLA Debian DLA DLA-3123-1 thunderbird security update
Debian DSA Debian DSA DSA-5237-1 firefox-esr security update
Debian DSA Debian DSA DSA-5238-1 thunderbird security update
EUVD EUVD EUVD-2022-44204 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.
Ubuntu USN Ubuntu USN USN-5649-1 Firefox vulnerabilities
Ubuntu USN Ubuntu USN USN-5724-1 Thunderbird vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Apr 15, 2025, 2:55 PM
Reserved
Sep 19, 2022, 12:00 AM
Status
Modified
Published
Dec 22, 2022, 8:15 PM
Modified
Jun 17, 2026, 5:02 AM
Severity
Moderate
Public date
Sep 20, 2022, 12:00 AM