Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Affecting github.com/schollz/croc package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th 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 Learn

Learn about Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSCHOLLZCROC-5910510
  • published20 Sept 2023
  • disclosed20 Sept 2023
  • creditUnknown

Introduced: 20 Sep 2023

CVE-2023-43616  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for github.com/schollz/croc.

Overview

github.com/schollz/croc is a tool that allows any two computers to simply and securely transfer files and folders.

Affected versions of this package are vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') during the ZIP extraction process. An attacker can cause a receiver to overwrite files by sending a maliciously crafted ZIP file.

CVSS Scores

version 3.1