In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/crossplane/crossplane-runtime/v2/pkg/xpkg to version 2.3.3 or higher.
Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via the CachedClient.Get flow in pkg/xpkg/client.go. An attacker controlling an OCI registry can serve one signed image to fetcher.Head and validator.Validate, then swap the tag to different content before fetcher.Fetch and package extraction, causing Crossplane to install an unsigned malicious package despite signature verification succeeding. This affects users who enable package signature verification in ImageConfig and install packages by tag from registries they do not control. The result is installation of attacker-chosen package content, which can break package integrity and let malicious package code or manifests run in the cluster.
Workarounds