Advisory

GHSA-pv22-fqcj-7xwh

Also known as: GO-2025-3665

Summary

Inspektor Gadget Security Policies Can be Bypassed

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-05-06 00:42 UTC
Modified
2025-05-06 19:13 UTC

Affected packages and fixes

github.com/inspektor-gadget/inspektor-gadget

Go · All systems

Affected

  • introduced 0.31.0, fixed 0.40.0 (semver)

Fixed versions

0.40.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences