CVE Vulnerabilities

CVE-2022-40958

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Dec 22, 2022 | Modified: Apr 15, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
6.1 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
FirefoxMozilla*105.0 (excluding)
Firefox_esrMozilla*102.3 (excluding)
ThunderbirdMozilla*102.3 (excluding)
Red Hat Enterprise Linux 7RedHatthunderbird-0:102.3.0-3.el7_9*
Red Hat Enterprise Linux 7RedHatfirefox-0:102.3.0-6.el7_9*
Red Hat Enterprise Linux 8RedHatfirefox-0:102.3.0-6.el8_6*
Red Hat Enterprise Linux 8RedHatthunderbird-0:102.3.0-3.el8_6*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatfirefox-0:102.3.0-6.el8_1*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatthunderbird-0:102.3.0-3.el8_1*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatfirefox-0:102.3.0-6.el8_2*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatthunderbird-0:102.3.0-3.el8_2*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatfirefox-0:102.3.0-6.el8_4*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatthunderbird-0:102.3.0-3.el8_4*
Red Hat Enterprise Linux 9RedHatfirefox-0:102.3.0-6.el9_0*
Red Hat Enterprise Linux 9RedHatthunderbird-0:102.3.0-3.el9_0*
FirefoxUbuntubionic*
FirefoxUbuntufocal*
FirefoxUbuntutrusty*
FirefoxUbuntuupstream*
FirefoxUbuntuxenial*
ThunderbirdUbuntubionic*
ThunderbirdUbuntufocal*
ThunderbirdUbuntujammy*
ThunderbirdUbuntutrusty*
ThunderbirdUbuntuupstream*
ThunderbirdUbuntuxenial*

Potential Mitigations

References