{"schemaVersion":3,"id":"CVE-2022-31739","aliases":["UBUNTU-CVE-2022-31739"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2022-12-22T00:00:00.000Z","modified":"2025-04-16T13:52:46.926Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0068,"percentile":0.51789,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.01799999999999996,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00662},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0068,"percentile":0.51789}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0068,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0068,"percentile":0.51789}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"}],"affected":[{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs78","name":"mozjs78","label":"mozjs78","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs78","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs91","name":"mozjs91","label":"mozjs91","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs91","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 101","noFixRecorded":false,"fixedIn":null},{"text":"< 101","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 101 | < 101","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"},{"vendor":"mozilla","product":"firefox_esr","name":"firefox esr","label":"firefox_esr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 91.10","noFixRecorded":false,"fixedIn":null},{"text":"< 91.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 91.10 | < 91.10","eol":null,"hubHref":"/vendor/mozilla/firefox_esr"},{"vendor":"mozilla","product":"thunderbird","name":"Thunderbird","label":"thunderbird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 91.10","noFixRecorded":false,"fixedIn":null},{"text":"< 91.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 91.10 | < 91.10","eol":null,"hubHref":"/vendor/mozilla/thunderbird"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.mozilla.org/security/advisories/mfsa2022-20/","label":"www.mozilla.org/security/advisories/mfsa2022-20/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-22/","label":"www.mozilla.org/security/advisories/mfsa2022-22/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-21/","label":"www.mozilla.org/security/advisories/mfsa2022-21/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1765049","label":"bugzilla.mozilla.org/show_bug.cgi?id=1765049","hostname":"bugzilla.mozilla.org","tags":["Issue Tracking","Permissions Required","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-31739","label":"ubuntu.com/security/CVE-2022-31739","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-20/#CVE-2022-31739","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-20/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-21/#CVE-2022-31739","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-21/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-22/#CVE-2022-31739","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-22/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31739","label":"www.cve.org/CVERecord?id=CVE-2022-31739","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:12117-1","OPENSUSE-SU-2024:12121-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2022:1920-1","SUSE-SU-2022:1921-1","SUSE-SU-2022:1927-1","SUSE-SU-2022:2062-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12117-1","OPENSUSE-SU-2024:12121-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2022:1920-1","SUSE-SU-2022:1921-1","SUSE-SU-2022:1927-1","SUSE-SU-2022:2062-1"]},"timeline":[{"kind":"published","date":"2022-12-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-16T13:52:46.926Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T06:44:58.076Z","stale":false,"partial":false}}