Improper Validation of Array Index Affecting k8sgpt package, versions <0.4.28-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.5% (41st 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 IDSNYK-WOLFILATEST-K8SGPT-15394165
  • published4 Mar 2026
  • disclosed16 May 2025

Introduced: 16 May 2025

CVE-2025-1975  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade Wolfi k8sgpt to version 0.4.28-r0 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 Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull endpoint, which can lead to a server crash.