Intel

AIKIDO-2024-10562

adm-zip is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

80

High Risk

This Affects:

JSadm-zip
0.1.1 - 0.5.1
Fixed in 0.5.2
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to directory traversal attacks during file extraction. By manipulating archive filenames with sequences like ../, attackers can craft malicious archives that, when extracted, place files outside the intended target directory. This can overwrite critical system files, deploy unauthorized scripts, or expose sensitive data.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

adm-zip is vulnerable to Path Traversal in versions 0.1.1 - 0.5.1.

How to fix this

Upgrade the adm-zip library to the patch version.