Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings
Red Hat Advanced Cluster Security 4
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Advanced Cluster Security 4 | — | No fix yet |
Original description
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
From the CVE record · redhat