CVE-2021-38197 json
Tarslip in go-unarr
published 2021-08-08 5 y ago modified 2026-06-17 4 mo ago also GHSA-v9j4-cp63-qv62 , GO-2022-0929 , EUVD-2021-2114
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
unarr.go in go-unarr (aka Go bindings for unarr) 0.1.1 allows Directory Traversal via ../ in a pathname within a TAR archive.
Patch / fix
- go github.com/gen2brain/go-unarr 0.1.4
Exploit prediction
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gen2brain/go-unarr/issues/21 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gen2brain/go-unarr | <0.1.4 |
0.1.4 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/gen2brain/go-unarr/commit/239ec404d348280b50bbf671327709e8857fc5f4
web, patch
-
github.com
/gen2brain/go-unarr/issues/21
web, exploit, issue-tracking, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2021-38197
advisory
-
github.com
/gen2brain/go-unarr/releases/tag/v0.1.4
web
-
github.com
/advisories/GHSA-v9j4-cp63-qv62
advisory
Sources
- CVE List CVE-2021-38197
- GitHub Advisory GHSA-v9j4-cp63-qv62
- NVD CVE-2021-38197
- OSV GO-2022-0929
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.