漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
LeafWiki 0.10.0 through 0.12.0 Uncontrolled Resource Consumption via Unbounded ZIP Extraction
Vulnerability Description
LeafWiki extracts an uploaded ZIP archive without limiting how much data it will write. ZipExtractor.ExtractToDir in internal/importer/zip_extractor.go opens each entry and copies it to the destination with io.Copy, which runs to the end of the decompressed stream, so only the size of the uploaded archive is bounded and the size it expands to is not. The import route that reaches this code requires the Editor or Admin role, and the upload itself is capped at 500 MiB compressed. Because a ZIP entry can compress at a very high ratio, an archive well inside that cap can expand to hundreds of gigabytes as it is written out. The extraction directory defaults to a location under the operating system temporary directory, so the written data consumes the disk backing that path, which on a tmpfs-backed temporary directory is memory. A user holding the Editor role can therefore exhaust the storage the service depends on and keep it from serving, using far more resource than the upload limit alone would permit.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
对高度压缩数据的处理不恰当(数据放大攻击)
Vulnerability Title
Patrick Erber LeafWiki 资源管理错误漏洞
Vulnerability Description
Patrick Erber LeafWiki是Patrick Erber个人开发者的一款企业协作维基工具。 Patrick Erber LeafWiki 0.10.0版本至0.12.0版本存在资源管理错误漏洞,该漏洞源于internal/importer/zip_extractor.go中的ZipExtractor.ExtractToDir函数在解压ZIP压缩包时未限制写入数据量,可能允许具有Editor或Admin角色的用户导致存储或内存资源耗尽,造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A