NetSight
high8.7No CVE yet

GHSA-rp7v-4384-hfrp

k8sGPT has Prompt Injection through its k8sGPT-Operator

Impact

### 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.

An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/k8sgpt-ai/k8sgpt< 0.4.320.4.32

Weakness classification

References