CVE-2022-35410 mat2 before 0.13.0 allows directory traversal during the ZIP archive cleaning process.

High 7.5 Published Updated

Attackers can read sensitive files via directory traversal in crafted ZIP archives processed by mat2, primarily affecting web instances.

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

What is CVE-2022-35410?

CVE-2022-35410 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 8 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

mat2 (aka metadata anonymisation toolkit) before 0.13.0 allows ../ directory traversal during the ZIP archive cleaning process. This primarily affects mat2 web instances, in which clients could obtain sensitive information via a crafted archive.

Weakness: CWE-22

Which versions are affected by CVE-2022-35410?

3 open source packages ship an affected version, including mat2. It affects 2 products.

PackageAffectedFixed in
mat2 PyPIAll versions0.13.0
mat2 PyPIAll versions0.13.0
mat2 PyPIAll versions0.13.0

Products include 0xacab Mat2, Debian Debian Linux.

How do I fix CVE-2022-35410?

Upgrade mat2 to 0.13.0 or later.

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

Is CVE-2022-35410 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-35410, DSA-5185-1, GHSA-f33p-9287-h552, PYSEC-2022-223, UBUNTU-CVE-2022-35410.

Is CVE-2022-35410 in your software?

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

Check your SBOMs for free