{"id":"CVE-2020-35883","aliases":["EUVD-2021-1562","GHSA-4vhw-4rw7-jfpv","RUSTSEC-2020-0030"],"status":"published","title":"Path traversal in mozwire","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01525,"percentile":0.74851,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-08-18T12:00:00Z","modified":"2026-10-24T10:31:04Z","fixes":[{"ecosystem":"crates.io","package":"mozwire","fixed_in":["0.5.0","0.4.2-0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"mozwire","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"mozwire","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"mozwire","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.2-0"}]}]}],"products":[{"vendor":"mozwire_project","product":"mozwire"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0030.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35883","tags":["advisory"]},{"url":"https://github.com/NilsIrl/MozWire/issues/14","tags":["web","report"]},{"url":"https://github.com/NilsIrl/MozWire/pull/17/commits/dd0639bf2876773b66382f47285f7db701f628d9","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4vhw-4rw7-jfpv"},{"url":"https://github.com/NilsIrl/MozWire","tags":["web"]},{"url":"https://crates.io/crates/mozwire","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35883","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2020-12-31T08:25:58Z","modified":"2024-08-04T17:16:12.59Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1562","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2020-12-31T08:25:58Z","modified":"2024-08-04T17:16:12Z","updated_at":"2026-11-03T03:07:04.595509Z"}],"ghsa":[{"id":"GHSA-4vhw-4rw7-jfpv","title":"Path traversal in mozwire","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2021-08-25T20:49:02Z","modified":"2023-02-09T14:23:48Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:44.81167Z"}],"nvd":[{"id":"CVE-2020-35883","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2020-12-31T10:15:16.27Z","modified":"2026-06-17T03:14:31.807Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35883","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2020-12-31T10:15:16.27Z","modified":"2026-10-24T10:31:04.387100023Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-4vhw-4rw7-jfpv","title":"Path traversal in mozwire","description":"An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.","status":"published","published":"2021-08-25T20:49:02Z","modified":"2023-11-08T04:03:37.376395Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.528068Z"},{"id":"RUSTSEC-2020-0030","title":"Missing sanitization in mozwire allows local file overwrite of files ending in .conf","description":"The client software downloaded a list of servers from mozilla's servers and created local files named\nafter the hostname field in the json document.\n\nNo verification of the content of the string was made, and it could therefore have included '../' leading to path traversal.\n\nThis allows an attacker in control of mozilla's servers to overwrite/create local files named .conf.\n\nThe flaw was corrected by sanitizing the hostname field.","status":"published","published":"2020-08-18T12:00:00Z","modified":"2023-11-08T04:03:37.376395Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
