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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

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 IDSNYK-RUBY-DOORKEEPER-568078
  • published4 May 2020
  • disclosed4 May 2020
  • creditUnknown

Introduced: 4 May 2020

CVE-2020-10187  (opens in a new tab)
CWE-200  (opens in a new tab)

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.

CVSS Scores

version 3.1