Advisory

GHSA-6jrj-vc65-c983

Also known as: None

Summary

unzip-stream allows Arbitrary File Write via artifact extraction

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-08-26 15:17 UTC
Modified
2024-08-26 15:17 UTC

Affected packages and fixes

unzip-stream

npm · All systems

Affected

  • introduced 0, fixed 0.3.2 (semver)

Fixed versions

0.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences