PT-2026-81903 · Leafwiki · Leafwiki
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
LeafWiki (affected versions not specified)
Description
An issue exists where the software extracts uploaded ZIP archives without limiting the amount of data written to the disk. The
ZipExtractor.ExtractToDir function in internal/importer/zip extractor.go uses io.Copy to process entries, which continues until the decompressed stream ends. While the compressed upload is capped at 500 MiB, high compression ratios allow an archive to expand to hundreds of gigabytes. Since the extraction occurs in the operating system temporary directory, this can exhaust disk space or memory (if using a tmpfs-backed directory), allowing a user with the Editor or Admin role to cause a denial of service by consuming critical system resources.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Leafwiki