Description d’origine
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.
Logiciels concernés
- LeafWiki ≥ 0.10.0 < 0.12.1 Corrigé dans: 0.12.1 correspondance par dépôt ou paquet
Détails
- Publication
- 2026-08-26
- Dernière modification
- 2026-08-29
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-409
- EPSS (probabilité d’exploitation à 30 jours)
- 0.55% (percentile 46)
Références
- cve.org/CVE-2026-80189
- nvd.nist.gov/vuln/detail/CVE-2026-80189
- github.com/perber/leafwiki
- github.com/perber/leafwiki/security/advisories/GHSA-258m-crqp-25xc
- github.com/perber/leafwiki/blob/v0.12.0/internal/importer/zip_extractor.go
- github.com/perber/leafwiki/releases/tag/v0.12.1
- www.vulncheck.com/advisories/leafwiki-0.10.0-through-0.12.0-uncontrolled-resource-consumpt...
Suivez ces versions sur vos propres serveurs
InfraGuard collecte les versions logicielles installées sur chaque serveur et signale celles qui présentent des vulnérabilités connues. Auto-hébergé : rien ne quitte votre réseau.
Ce produit utilise des données de l’API du NVD, mais n’est ni approuvé ni certifié par le NVD. CVE® est une marque déposée de The MITRE Corporation ; les enregistrements CVE sont utilisés conformément aux conditions d’utilisation du CVE Program.