GHSA-8jhx-9gf4-hhf5
Consul gem insufficient authentication check - Multiple powers in one controller are not always checked correctly
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-16377
- https://github.com/makandra/consul/issues/49
- https://github.com/makandra/consul
- https://github.com/rubysec/ruby-advisory-db/blob/c26fbc13435b8be448ad59131428538049d165e4/gems/consul/CVE-2019-16377.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/consul/CVE-2019-16377.yml
- https://rubygems.org/gems/consul