Skip to content

GHSA-rp7v-4384-hfrp k8sGPT has Prompt Injection through its k8sGPT-Operator

HighCVSS 8.7
Published
Updated
Exploit status
No public exploit known

Description

Summary

In the auto-remediation pipeline, object_to_execution.go was deserializing the AI-generated YAML directly into a Deployment object, but there was lack of validation from the original Deployment object.

Details

This issue was fixed after coordination with Alex Jones.

PoC

To minimize the impact, the PoC of this vulnerability wasn't released, but was shared with the maintainers.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
k8sgpt-ai github.com/k8sgpt-ai/k8sgpt(Go) < 0.4.32 0.4.32 Fixed

Affected products

ProductAffected versionsFixed in
k8sgpt-ai github.com/k8sgpt-ai/k8sgpt(Go) < 0.4.32 0.4.32

References