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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.07% (35th 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-GITHUBCOMSCHOLLZCROCV9-5910511
  • 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?

Upgrade github.com/schollz/croc/v9 to version 9.6.16 or higher.

Overview

github.com/schollz/croc/v9 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