{"schema_version":"1.3.1","id":"GO-2020-0035","modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","aliases":["CVE-2020-36561","GHSA-f5c5-hmw9-v8hx"],"summary":"Path traversal in github.com/yi-ge/unzip","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","affected":[{"package":{"name":"github.com/yi-ge/unzip","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.3-0.20200308084313-2adbaa4891b9"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/yi-ge/unzip","symbols":["Unzip.Extract"]}]}}],"references":[{"type":"FIX","url":"https://github.com/yi-ge/unzip/pull/1"},{"type":"FIX","url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2020-0035","review_status":"REVIEWED"}}