CVE-2022-31739 json
When downloading files on Windows, the % character was not escaped, which could have lead to a download incorrectly being saved to attacker…
published 2022-12-22 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53137
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
When downloading files on Windows, the % character was not escaped, which could have lead to a download incorrectly being saved to attacker-influenced paths that used variables such as %HOMEPATH% or %APPDATA%.<br>*This bug only affects Firefox for Windows. Other operating systems are unaffected.*. This vulnerability affects Thunderbird < 91.10, Firefox < 101, and Firefox ESR < 91.10.
Patch / fix
- Mozilla Thunderbird 91.10
- Mozilla Firefox 101
- Mozilla Firefox ESR 91.10
- MozillaThunderbird SLE Workstation Extension 15 SP4, SLE Workstation Extension 15 SP3, SLE Module for Package Hub 15 SP4 +3 more 91.10.0-150200.8.73.1
- MozillaFirefox SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 91.10.0-150000.150.44.1
- MozillaFirefox SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 91.10.0-112.114.1
- MozillaFirefox SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +10 more 91.10.0-150200.152.43.1
suse advisories SUSE-SU-2022:2062-1SUSE-SU-2022:1927-1SUSE-SU-2022:1921-1SUSE-SU-2022:1920-1
- firefox-esr openSUSE Tumbleweed 128.5.1-1.1
- MozillaThunderbird openSUSE Tumbleweed 91.10.0-1.1
- MozillaFirefox openSUSE Tumbleweed 101.0-1.1
opensuse advisories openSUSE-SU-2024:14572-1openSUSE-SU-2024:12117-1openSUSE-SU-2024:12121-1
- firefox Alpine 3.23, Alpine 3.22, Alpine 3.21 +5 more 101.0-r0
- librewolf Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 101.0-r0
- firefox-esr Alpine 3.23, Alpine 3.22, Alpine 3.21 +6 more 91.10.0-r0
- thunderbird Alpine 3.23, Alpine 3.22, Alpine 3.21 +5 more 91.10.0-r0
alpine advisories ALPINE-CVE-2022-31739
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-31739 updated cvss 7.5
Mozilla: Attacker-influenced path traversal when saving downloaded files
-
Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 firefox, thunderbird Red Hat Enterprise Linux 8 firefox, thunderbird Red Hat Enterprise Linux 9 firefox, firefox-x11, thunderbirdnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- Mozilla Thunderbird
- Mozilla Firefox
- Mozilla Firefox ESR
Classification
- Weakness
-
- CWE-73 External Control of File Name or Path
References
-
mozilla.org
/security/advisories/mfsa2022-20/
vendor-advisory
-
mozilla.org
/security/advisories/mfsa2022-22/
vendor-advisory
-
mozilla.org
/security/advisories/mfsa2022-21/
vendor-advisory
-
bugzilla.mozilla.org
/show_bug.cgi?id=1765049
issue-tracking, permissions-required, vendor-advisory
Sources
- CVE List CVE-2022-31739
- NVD CVE-2022-31739
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.