Skip to content
Fencer Intel
critical 9.1

CVE-2020-36561 json

Path traversal in github.com/yi-ge/unzip

published 5y ago modified 4mo ago also GHSA-f5c5-hmw9-v8hx , GO-2020-0035 , EUVD-2022-7611

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Patch / fix

  • go github.com/yi-ge/unzip 1.0.3-0.20200308084313-2adbaa4891b9
  • github.com/yi-ge/unzip github.com/yi-ge/unzip 1.0.3-0.20200308084313-2adbaa4891b9

Is CVE-2020-36561 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/yi-ge/unzip/pull/1 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/yi-ge/unzip
<1.0.3-0.20200308084313-2adbaa4891b9
1.0.3-0.20200308084313-2adbaa4891b9

Affected products

  • github.com/yi-ge/unzip github.com/yi-ge/unzip

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.