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.
{ "nvd_published_at": "2019-09-23T16:15:00Z", "cwe_ids": [ "CWE-284" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2019-09-25T01:09:01Z" }