Directory Traversal Affecting terragrunt package, versions <0.64.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (13th 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-TERRAGRUNT-7569134
  • published26 Jul 2024
  • disclosed6 Apr 2024

Introduced: 6 Apr 2024

CVE-2024-0406  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Wolfi terragrunt to version 0.64.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream terragrunt package and not the terragrunt package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A flaw was discovered in the mholt/archiver package. This flaw allows an attacker to create a specially crafted tar file, which, when unpacked, may allow access to restricted files or directories. This issue can allow the creation or overwriting of files with the user's or application's privileges using the library.