# CVE-2021-38197: Tarslip in go-unarr

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.11%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-08T15:18:17.000Z
- Modified: 2026-06-17T04:01:44.490Z
- Also known as: GHSA-v9j4-cp63-qv62, GO-2022-0929
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

unarr.go in go-unarr (aka Go bindings for unarr) 0.1.1 allows Directory Traversal via ../ in a pathname within a TAR archive.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/gen2brain/go-unarr (Go): before 0.1.4
- go-unarr_project go-unarr: 0.1.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/gen2brain/go-unarr/issues/21> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38197> (advisory)
- <https://github.com/gen2brain/go-unarr/commit/239ec404d348280b50bbf671327709e8857fc5f4> (fix, web)
- <https://github.com/gen2brain/go-unarr/releases/tag/v0.1.4> (web)
- <https://github.com/advisories/GHSA-v9j4-cp63-qv62> (advisory)

## Sources

- CVE List: [CVE-2021-38197](https://www.cve.org/CVERecord?id=CVE-2021-38197), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-v9j4-cp63-qv62](https://github.com/advisories/GHSA-v9j4-cp63-qv62), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0929](https://pkg.go.dev/vuln/GO-2022-0929), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-38197](https://nvd.nist.gov/vuln/detail/CVE-2021-38197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-38197 · Whole record: https://cve.day/CVE-2021-38197.json · Rebuilt by cve.day 2026-11-25T22:58:03.057Z
