Improper Access Control Affecting consul package, versions <1.0.3


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.64% (79th percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-CONSUL-468980
  • published 24 Sep 2019
  • disclosed 23 Sep 2019
  • credit Tobias Kraze

How to fix?

Upgrade consul to version 1.0.3 or higher.

Overview

consul is a scope-based authorization solution for Ruby on Rails.

Affected versions of this package are vulnerable to Improper Access Control. When a controller has multiple power directives, the :only and :except options of the last directive is applied to all directives. This can lead to unauthenticated access to certain controller actions.

References