Radius Controller May Delete a Container Resource via an Injected Deployment Annotation (Multi-Tenant Installs)
What fixes it
- 0.58.0radiusGitHub
- 0.58.0github.com/radius-project/radius, GoOSV
go get github.com/radius-project/radius@v0.58.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps. Prior to 0.58.0, the Kubernetes controller deserializes the user-controlled radapp.io/status annotation on a Deployment and uses its container resource identifier for deletion without confirming ownership by that Deployment. An attacker with permission to modify Deployment annotations and knowledge of a target Radius resource ID can forge radapp.io/status and set radapp.io/enabled to false, causing reconciliation to enter the privileged deletion path for another tenant's Radius-managed container resource. In a multi-tenant installation this confused-deputy condition can delete another team's recoverable container resource and disrupt service; in a single-tenant installation the impact is limited to self denial of service. The multi-tenant Radius controller reads the annotations in pkg/controller/reconciler/annotations.go and reaches the privileged delete in pkg/controller/reconciler/deployment_reconciler.go. The issue does not disclose data, grant privileges, or provide persistence. This issue is fixed in version 0.58.0.
Text from CVE List
Affected versions 3
- radiusaffected: < 0.58.0CVE List
- radiusRadius 0.57.1 and earlier versionsGitHub
- github.com/radius-project/radius, Gofrom first release, fixed in 0.58.0OSV
References 4
- github.com/radius-project/radius/commit/c4174fc205b838d5eab4f64b4909001ab08c0587Fixvia CVE List
- github.com/radius-project/radius/releases/tag/v0.58.0Fixvia CVE List
- github.com/radius-project/radius/security/advisories/GHSA-fp5j-4fj2-4jvqExploitvia CVE List
- github.com/radius-project/radius/pull/11967Referencevia CVE List