CVE-2022-31739: Path Traversal

Published May 31, 2022
·
Updated

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%.This bug only affects Firefox for Windows. Other operating systems are unaffected.

Other sources

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%.This bug only affects Thunderbird for Windows. Other operating systems are unaffected.

— Mozilla

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.

Affected Software

40 affected componentsFixes available
Mozilla Firefox<101
101
Mozilla Firefox<101
Mozilla Firefox ESR<91.10
Mozilla Thunderbird<91.10
Microsoft Windows
All of the following
Any of the following
Mozilla Firefox<101
Mozilla Firefox ESR<91.10
Mozilla Thunderbird<91.10
Microsoft Windows
Mozilla Firefox ESR<91.10
91.10
Mozilla Thunderbird<91.10
91.10
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/firefox-esr<91.10.0-r0
91.10.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0
alpine/thunderbird<91.10.0-r0
91.10.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 101
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 101
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 91.10
  4. Upgrade

    Upgrade alpine/firefox to a version that resolves this vulnerability.

    Fixed in 101.0-r0
  5. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.10.0-r0
  6. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 101.0-r0
  7. Upgrade

    Upgrade alpine/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.10.0-r0

Event History

May 31, 2022
CVE Published
12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Dec 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-31739?

CVE-2022-31739 is considered a moderate severity vulnerability.

2

How do I fix CVE-2022-31739?

To fix CVE-2022-31739, update Firefox, Firefox ESR, or Thunderbird to the latest version beyond 101 or 91.10 respectively.

3

Who is affected by CVE-2022-31739?

CVE-2022-31739 affects Firefox, Firefox ESR, and Thunderbird on Windows only.

4

What type of vulnerability is CVE-2022-31739?

CVE-2022-31739 is a file path manipulation vulnerability that could allow files to be downloaded to attacker-controlled paths.

5

Can CVE-2022-31739 affect other operating systems?

No, CVE-2022-31739 specifically affects only Windows versions of Firefox, Firefox ESR, and Thunderbird.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203