Directory Traversal Affecting k8sgpt package, versions <0.3.27-r1


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-CHAINGUARDLATEST-K8SGPT-6252414
  • published18 Feb 2024
  • disclosed15 Feb 2024

Introduced: 15 Feb 2024

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

How to fix?

Upgrade Chainguard k8sgpt to version 0.3.27-r1 or higher.

NVD Description

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

Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. When either the Helm client or SDK is used to save a chart whose name within the Chart.yaml file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name. This issue has been resolved in Helm v3.14.1. Users unable to upgrade should check all charts used by Helm for path changes in their name as found in the Chart.yaml file. This includes dependencies.

CVSS Scores

version 3.1