Fix Story 2010258 (CVE-2022-3100)
This patch fixes a security vunlerability where the contents of a request query string were mistakenly being used in the RBAC policy engine. Change-Id: I5797988e4c63c75fccf85277c52815d9bf684cff
This commit is contained in:
parent
c77b95d831
commit
6112c30237
@ -64,7 +64,6 @@ def _do_enforce_rbac(inst, req, action_name, ctx, **kwargs):
|
||||
if target_name and target_data:
|
||||
policy_dict['target'] = {target_name: target_data}
|
||||
|
||||
policy_dict.update(kwargs)
|
||||
# Enforce access controls.
|
||||
if ctx.policy_enforcer:
|
||||
target = flatten(policy_dict)
|
||||
|
Loading…
x
Reference in New Issue
Block a user