github.com/inspektor-gadget/inspektor-gadget
Affected
- introduced
0.31.0, fixed0.40.0(semver)
Fixed versions
0.40.0
Fix
- Fixed version
0.40.0go get github.com/inspektor-gadget/[email protected]
Advisory
Also known as: GO-2025-3665
Inspektor Gadget Security Policies Can be Bypassed
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.
Medium Basis: The source's own band: MODERATE
0.31.0, fixed 0.40.0 (semver)0.40.0
0.40.0go get github.com/inspektor-gadget/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0