All reports
Medium

Inspektor Gadget Security Policies Can be Bypassed

Affected versions

Version ranges need review.

Affected versions
>=0.31.0 <0.40.0
Fixed version
0.40.0
Affected versions
>= 0.31.0, < 0.40.0
Fixed version
0.40.0

Description

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.

Links