PT-2021-22005 · Go-Unarr · Go-Unarr

Th1Nkkk

·

Published

2021-08-08

·

Updated

2024-08-21

·

CVE-2021-38197

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: go-unarr versions 0.1.1
Description: The issue allows Directory Traversal via ../ in a pathname within a TAR archive. This is possible due to a flaw in the unarr.go file in go-unarr.
Recommendations: For go-unarr version 0.1.1, consider restricting the handling of TAR archives to prevent directory traversal attacks until a patch is available. As a temporary workaround, consider validating and sanitizing pathnames within TAR archives to prevent ../ sequences from being processed. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2021-38197
GHSA-V9J4-CP63-QV62
GO-2022-0929

Affected Products

Go-Unarr