Information Disclosure Affecting doorkeeper package, versions >=5.0.0, <5.0.3 >=5.1.0, <5.1.1 >=5.2.0, <5.2.5 >=5.3.0, <5.3.2


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
7.5 high

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-DOORKEEPER-568078
  • published 4 May 2020
  • disclosed 4 May 2020
  • credit Unknown

How to fix?

Upgrade doorkeeper to version 5.0.3, 5.1.1, 5.2.5, 5.3.2 or higher.

Overview

doorkeeper is an OAuth 2 provider for Rails and Grape.

Affected versions of this package are vulnerable to Information Disclosure. It allows an attacker to retrieve the client secret only intended for the OAuth application owner. After authorizing the application and allowing access, the attacker simply needs to request the list of their authorized applications in a JSON format (usually GET /oauth/authorized_applications.json). An application is vulnerable if the authorized applications controller is enabled.