Advisory

GHSA-88jf-7rch-32qc

Also known as: CVE-2020-7668, GO-2020-0041

Summary

github.com/unknwon/cae Path Traversal vulnerability

Details

The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-18 20:31 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

github.com/unknwon/cae

Go · All systems

Affected

  • introduced 0, fixed 1.0.1 (semver)

Fixed versions

1.0.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