NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

GHSA-pv22-fqcj-7xwh: Inspektor Gadget Security Policies Can be Bypassed

mediumCVSS 3.1 6.7

Security policies like allowed-gadgets, disallow-pulling, verify-image can be bypassed by a malicious client. Impact Users running ig in daemon mode or IG on Kubernetes that rely on any of the features mentioned above are vulnerable to this issue. In order to exploit this, the client needs access to the server, like the correct TLS certificates on the ig daemon case or access to the cluster in the Kubernetes case.

Published May 6, 2025

Affected packages

github.com/inspektor-gadget/inspektor-gadget

Ecosystem
Go
Affected
>= 0.31.0, < 0.40.0
Fixed in
0.40.0
Check
go list -m github.com/inspektor-gadget/inspektor-gadget

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Security policies like `allowed-gadgets`, `disallow-pulling`, `verify-image` can be bypassed by a malicious client.

Impact

Users running ig in daemon mode or IG on Kubernetes that rely on any of the features mentioned above are vulnerable to this issue. In order to exploit this, the client needs access to the server, like the correct TLS certificates on the ig daemon case or access to the cluster in the Kubernetes case.

Patches

The issue has been fixed in v0.40.0

Workarounds

There is not known workaround to fix it.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries