Uncontrolled Search Path Element Affecting github.com/google/safearchive/tar package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGOOGLESAFEARCHIVETAR-8343292
  • published 5 Nov 2024
  • disclosed 4 Nov 2024
  • credit Unknown

How to fix?

There is no fixed version for github.com/google/safearchive/tar.

Overview

Affected versions of this package are vulnerable to Uncontrolled Search Path Element due to the improper handling of symbolic links during archive extraction. An attacker can write arbitrary files by crafting an archive that includes malicious symbolic links.

Note: This is only exploitable on platforms with case-insensitive filesystems, such as NTFS.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Passive
  • Automatable (AU)
    Yes
  • Recovery (R)
    Unreliable
  • Value Density (V)
    Distributed
  • Vulnerability Response Effort (RE)
    Low
  • Provider Urgency (U)
    Green
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    High
  • Availability (VA)
    Low
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    High
  • Availability (SA)
    Low