Description
Obot 0.25.0 before 0.25.6 and 0.26.0 before 0.26.1 contains a race condition in auth provider group refreshes that can restore group memberships just revoked in the identity provider. When overlapping refreshes for the same user commit out of order, stale memberships are persisted and the user retains revoked group-based access for about ten minutes.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
obot-platform obot
Default version status: unaffected
0.25.0 to < 0.25.6affected0.26.0 to < 0.26.1affected
pkg:golang/github.com/obot-platform/obotReferences
- https://github.com/obot-platform/obot/commit/6f81dac8d344cf6b2161f500460fb7b2a975c415 ↗
- https://github.com/obot-platform/obot ↗
- https://github.com/obot-platform/obot/security/advisories/GHSA-929v-v9hq-5xhr ↗
- https://github.com/obot-platform/obot/commit/09e4d5b5d1e4a5f35a6cbcff96f3c460c3f9e278 ↗
- https://github.com/obot-platform/obot/releases/tag/v0.26.1 ↗
- https://github.com/obot-platform/obot/blob/2d2aaca9dc9b26777f8a2d213e0e1ec47f47508e/pkg/gateway/client/group.go#L652-L734 ↗
- https://github.com/obot-platform/obot/blob/2d2aaca9dc9b26777f8a2d213e0e1ec47f47508e/pkg/gateway/client/identity.go#L444-L456 ↗
- https://github.com/obot-platform/obot/blob/6f81dac8d344cf6b2161f500460fb7b2a975c415/pkg/gateway/client/group.go#L741-L757 ↗
- https://www.vulncheck.com/advisories/obot-0.25.0-before-0.25.6-and-0.26.0-before-0.26.1-race-condition-restores-revoked-group-membership ↗