adm-zip integrity check bypass in ZIP entry validation
cthackers adm-zip
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cthackers adm-zip |
| No fix yet |
Original description
adm-zip through 0.6.1 contains a duplicate-entry validation bypass that allows attackers to evade the readEntries() check by using canonically equivalent entry names like './hello.txt' and 'hello.txt'. Attackers can craft ZIP archives where getEntry() or readAsText() validates benign content while extractAllTo() writes malicious content to the same path, bypassing integrity checks.
From the CVE record · VulnCheck