LiveActive security incident?Get immediate response
CVE Record

CVE-2021-38197: unarr.go in go-unarr (aka Go bindings for unarr) 0.1.1 allows Directory Traversal via ../ in a pathname wit...

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-38197 describes a path traversal flaw in go-unarr 0.1.1 when handling TAR archive entry names. If an application extracts attacker-controlled TAR files with this library, archive paths containing parent-directory components may escape the intended extraction location.

Executive priority

Treat this as a targeted dependency-risk item, not a confirmed emergency. Prioritize review where archive extraction is internet-facing, customer-facing, or processes untrusted files.

Technical view

The CVE states that unarr.go in go-unarr 0.1.1 allows directory traversal through TAR archive pathnames containing ../. The public bundle provides no CVSS score, CWE mapping, affected CPEs, patch version, or confirmed exploit activity.

Likely exposure

Exposure is most likely in Go applications that depend on go-unarr 0.1.1 and extract TAR archives from users, partners, email, uploads, or other untrusted sources. The affected-product metadata in the CVE bundle is incomplete.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. The realistic risk is abuse of crafted TAR filenames during extraction, potentially causing files to be placed outside the intended directory if the hosting application permits it.

Researcher notes

Evidence is limited to the CVE description and a GitHub issue reference. No CVSS, CWE, patch, exploit confirmation, or detailed affected-product metadata is present in the provided bundle.

Mitigation direction

  • Inventory applications and services using go-unarr 0.1.1.
  • Check the maintainer issue and vendor guidance for fixed versions or workarounds.
  • Avoid extracting untrusted TAR archives with the affected library.
  • Run archive extraction in a restricted sandbox or temporary isolated directory.
  • Reject archive entries with unsafe or parent-directory path components before extraction.

Validation and detection

  • Search dependency manifests and build outputs for go-unarr 0.1.1.
  • Review code paths that extract TAR archives with go-unarr.
  • Confirm extraction logic prevents writes outside the intended destination.
  • Check runtime logs for unexpected file creation near extraction workflows.
  • Track the linked GitHub issue for maintainer remediation details.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-38197 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.