Gramps-project gramps-web-api
Gramps Web API has Zip Slip Path Traversal in Media Archive Import
The Gramps Web API is a Python REST API for the genealogical research software Gramps. Versions 1.6.0 through 3.11.0 have a path traversal vulnerability (Zip Slip) in the media archive import feature. An authenticated user with owner-level privileges can craft a malicious ZIP file with directory-traversal filenames to write arbitrary files outside the intended temporary extraction directory on the server's local filesystem. Startig in version 3.11.1, ZIP entry names are now validated against the resolved real path of the temporary directory before extraction. Any entry whose resolved path falls outside the temporary directory raises an error and aborts the import.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.6.0, < 3.11.1
Fixed in 3.11.1
Mitigation
Upgrade gramps-web-api to 3.11.1 or later.
References
- Vendor advisory github.com/gramps-project/gramps-web-api/secur…
- Patch github.com/gramps-project/gramps-web-api/commi…
- Release notes github.com/gramps-project/gramps-web-api/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.