GHSA-8jhx-9gf4-hhf5

Suggest an improvement
Source
https://github.com/advisories/GHSA-8jhx-9gf4-hhf5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-8jhx-9gf4-hhf5/GHSA-8jhx-9gf4-hhf5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8jhx-9gf4-hhf5
Aliases
Published
2019-09-27T20:01:00Z
Modified
2024-02-16T08:24:38.297974Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Consul gem insufficient authentication check - Multiple powers in one controller are not always checked correctly
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.

Database specific
{
    "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"
}
References

Affected packages

RubyGems / consul

Package

Name
consul
Purl
pkg:gem/consul

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.3

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.2.0
0.2.1
0.2.2
0.2.3
0.3.0
0.4.0
0.4.1
0.4.2
0.5.0
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
0.9.1
0.10.0
0.10.1
0.10.2
0.11.0
0.11.1
0.11.2
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.13.2
0.14.0
0.14.1

1.*

1.0.0
1.0.1
1.0.2