Advisory

GHSA-qgfr-5hqp-vrw9

Also known as: CVE-2020-12265

Summary

Path Traversal in decompress

Details

Versions of decompress prior to 4.2.1 are vulnerable to Arbitrary File Write. The package fails to prevent extraction of files with relative paths, allowing attackers to write to any folder in the system by including filenames containing../.

Recommendation

Upgrade to version 4.2.1 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-03 21:16 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

decompress

npm · All systems

Affected

  • introduced 0, fixed 4.2.1 (semver)

Fixed versions

4.2.1

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