GO-2021-0228
Dashboard / Vulnerabilities / GO-2021-0228
GO-2021-0228
Published: 14 Jan 2022Last Modified: 13 Mar 2026
Aliases:
Summary: Path traversal in github.com/unknwon/cae
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.
References: https://github.com/unknwon/cae/commit/07971c00a1bfd9dc171c3ad0bfab5b67c2287e11, https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383
Affected packages
Package
Name: github.com/unknwon/cae
Purl: pkg:golang/github.com/unknwon/cae
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.0.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
