GitHub Advisoryadvisory · npm

GHSA-6jrj-vc65-c983 unzip-stream allows Arbitrary File Write via artifact extraction

HIGH Published 2024-08-26 Modified 2024-08-26 Official page ↗
Ecosystem
npm
Packages
unzip-stream
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-08-26

Affected packages

• npm unzip-stream: < 0.3.2 → fixed in 0.3.2

Description

Impact When using the `Extract()` method of unzip-stream, malicious zip files were able to write to paths they shouldn't be allowed to. Patches Fixed in 0.3.2 References • https://snyk.io/research/zip-slip-vulnerability • https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2 Credits Justin Taft from Google

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References