Vulnerability record
epiphany: path traversal in WebExtension XPI extraction (ZIP slip)
A path traversal (ZIP slip) vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.
In src/webextension/ephy-web-extension-manager.c, the decompress_xpi_thread() function extracts XPI archives (ZIP format) to disk using libarchive. For each archive entry, the output path is built by concatenating the intended extraction directory with the raw pathname from the archive:
full_path = g_build_filename(path, archive_entry_pathname(entry), NULL);
archive_entry_set_pathname(entry, full_path);
ret = archive_write_header(ext, entry);
The libarchive…
5.5/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NExploitability
AV:LAC:LPR:NUI:RScope
S:UImpact
C:NI:HA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources