With the consul ruby gem before 1.0.3, if a controller checks multiple powers using :if
or :except
conditions, these conditions are erroneously applied to all power checks in that controller. This can lead to skipped power checks and hence unauthenticated access to certain controller actions.
{ "github_reviewed_at": "2019-09-25T01:09:01Z", "nvd_published_at": "2019-09-23T16:15:00Z", "severity": "CRITICAL", "cwe_ids": [ "CWE-284" ], "github_reviewed": true }