cross-zip@2.1.6 vulnerabilities

Cross-platform .zip file creation

Direct Vulnerabilities

Known vulnerabilities in the cross-zip package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Directory Traversal

cross-zip is a Cross-platform .zip file creation

Affected versions of this package are vulnerable to Directory Traversal via consecutive usage of zipSync() and unzipSync () functions that allow arguments such as __dirname. An attacker can access system files by selectively doing zip/unzip operations.

How to fix Directory Traversal?

There is no fixed version for cross-zip.

*