Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Advanced Cluster Security 4 | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Advanced Cluster Security |
|
Vendor Workaround
Administrators should review and update their Auth Machine-to-Machine (M2M) role mappings in StackRox/RHACS Central to ensure that `valueExpression` regular expressions are properly anchored (e.g., by adding `^` and `$` delimiters). This ensures exact matching of claim values and prevents unintended role assignments. Reloading the configuration or restarting the Central service may be required for changes to take effect.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.345% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings | |
| First Time appeared |
Redhat
Redhat advanced Cluster Security |
|
| Weaknesses | CWE-625 | |
| CPEs | cpe:/a:redhat:advanced_cluster_security:4 | |
| Vendors & Products |
Redhat
Redhat advanced Cluster Security |
|
| References |
| |
| Metrics |
cvssV3_1
|