Skip to content
Fencer Vulns
critical 9.1

CVE-2020-36566 json

Path traversal in github.com/whyrusleeping/tar-utils

published 2021-07-28 5 y ago modified 2026-06-17 4 mo ago also GHSA-jpf8-h7h7-3ppm , GO-2021-0106 , EUVD-2022-7667

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
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/whyrusleeping/tar-utils 0.0.0-20201201191210-20a61371de5b
  • github.com/whyrusleeping/tar-utils github.com/whyrusleeping/tar-utils 0.0.0-20201201191210-20a61371de5b

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

1.11% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).

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/whyrusleeping/tar-utils
<0.0.0-20201201191210-20a61371de5b
0.0.0-20201201191210-20a61371de5b

Affected products

  • github.com/whyrusleeping/tar-utils github.com/whyrusleeping/tar-utils

Classification

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

References

Sources

Fencer Vulns 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.