CVE-2020-35883 Path traversal in mozwire

Critical 9.1 Published Updated

Attackers can overwrite local configuration files via directory traversal in the mozwire Rust crate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-35883?

CVE-2020-35883 is a critical path traversal vulnerability in n/a, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2020-35883?

3 open source packages ship an affected version, including mozwire. It affects 1 product.

PackageAffectedFixed in
mozwire crates.ioAll versions0.5.0
mozwire crates.ioAll versions0.5.0
mozwire crates.ioFrom 0.0.0-00.4.2-0

Products include Mozwire Project Mozwire.

How do I fix CVE-2020-35883?

Upgrade mozwire to a fixed version for your release line: 0.5.0 or 0.4.2-0.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-35883 being exploited?

There is no known exploitation of CVE-2020-35883 in the wild and no public exploit code.

Sources

Also known as GHSA-4vhw-4rw7-jfpv, RUSTSEC-2020-0030.

Is CVE-2020-35883 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free