CVE & CISA-KEV Catalog

CVE-2022-40958

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
firefoxDebian
Fixed in:105.0-1CVE-2022-40958
firefoxUbuntu
Fixed in:105.0+build2-0ubuntu0.18.04.1USN-5649-1
Fixed in:105.0+build2-0ubuntu0.20.04.1USN-5649-1
thunderbirdUbuntu
Fixed in:1:102.4.2+build2-0ubuntu0.18.04.1USN-5724-1
Fixed in:1:102.4.2+build2-0ubuntu0.20.04.1USN-5724-1
Fixed in:1:102.4.2+build2-0ubuntu0.22.04.1USN-5724-1
Fixed in:1:102.4.2+build2-0ubuntu0.22.10.1USN-5724-1
DeveloperEditionWindows application
Affected:105.0Fixed in:105.0Mozilla
Mozilla Firefox (en-US)Windows application
Affected:105.0Fixed in:105.0Mozilla
Mozilla Firefox ESR (en-US)Windows application
Affected:102.3Fixed in:102.3Mozilla
Mozilla Thunderbird (en-US)Windows application
Affected:102.3Fixed in:102.3Mozilla

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploit Intelligence

1.10%probability of exploitation in 30 days
62ndpercentile

Moderate risk: more likely to be exploited than 62% of all known CVEs.

References

Related Vulnerabilities

Other CWE-74 (Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2013-2251Critical9.8100%KEVFix
CVE-2023-22527Critical9.8100%KEV + RansomFix
CVE-2019-2725Critical9.8100%KEV + RansomFix
CVE-2022-46169Critical9.8100%KEVFix
CVE-2022-35914Critical9.8100%KEV-
CVE-2019-17558High7.599%KEVFix
Embed a live status badge for CVE-2022-40958
CVE-2022-40958 severity badge

Markdown

[![CVE-2022-40958](https://tridentstack.com/cve/badge/CVE-2022-40958.svg)](https://tridentstack.com/cve/CVE-2022-40958)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-40958"><img src="https://tridentstack.com/cve/badge/CVE-2022-40958.svg" alt="CVE-2022-40958"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-15.