ADVISORIES

GitHub Advisory Database

GHSA-rhq2-2574-78mc

Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal

Details

The unzip function in ZipUtil.java in Hutool before 4.1.12 allows remote attackers to overwrite arbitrary files via directory traversal sequences in a filename within a ZIP archive.

Affected packages

EcosystemPackageAffected versions
Mavencn.hutool:hutool-parent
All versions before 4.1.12 (fixed in 4.1.12)
Mavencn.hutool:hutool-all
All versions before 4.1.12 (fixed in 4.1.12)
Mavencn.hutool:hutool-core
All versions before 4.1.12 (fixed in 4.1.12)

References