Skip to content
Fencer Vulns
high 7.5

CVE-2022-35410 json

mat2 before 0.13.0 allows directory traversal during the ZIP archive cleaning process.

published 2022-07-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-f33p-9287-h552 , PYSEC-2022-223 , EUVD-2022-0152

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi mat2 0.13.0
  • 0xacab mat2 0.13.0
  • mat2 Debian 14, Debian 13, Debian 12 0.13.0-1

debian advisories DEBIAN-CVE-2022-35410

  • mat2 Arch Linux 0.13.0-1

arch linux advisories AVG-2798

Exploit prediction

2.27% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • 0xacab.org https://0xacab.org/jvoisin/mat2/-/commit/beebca4bf1cd3b935824c966ce077e7bcf610385 referenced PoC, tagged "exploit" by a source, unverified
  • 0xacab.org https://0xacab.org/jvoisin/mat2/-/issues/174 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi mat2
<0.13.0
0.13.0

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.