ADVISORIES

GitHub Advisory Database

GHSA-8jhx-9gf4-hhf5

Consul gem insufficient authentication check - Multiple powers in one controller are not always checked correctly

Critical CVE-2019-16377

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsconsul
All versions before 1.0.3 (fixed in 1.0.3)

References