Loading...
Skip to main content

CVE-2020-10187 — Vulnerability in doorkeeper — CVE Details

HIGH

Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper

Published May 7, 2020Updated September 10, 2026Source: osv

Summary

### Impact Information disclosure vulnerability. Allows an attacker to see all `Doorkeeper::Application` model attribute values (including secrets) using authorized applications controller if it's enabled (GET /oauth/authorized_applications.json). ### Patches These versions have the fix: * 5.0.3 * 5.1.1 * 5.2.5 * 5.3.2 ### Workarounds Patch `Doorkeeper::Application` model `#as_json(options = {})` method and define only those attributes you want to expose. Additional recommended hardening is to enable application secrets hashing ([guide](https://doorkeeper.gitbook.io/guides/security/token-and-application-secrets)), available since Doorkeeper 5.1. This would render the exposed secret useless. ### References - Commit with fix: https://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10187

Advisory Timeline

  • First published May 7, 2020 (2349 days ago).
  • Last revised September 10, 2026 — 2316 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update doorkeeper to 5.1.1 or later
gem install doorkeeper -v 5.1.1
Bundler
Update doorkeeper to 5.2.5 or later
gem install doorkeeper -v 5.2.5
Bundler
Update doorkeeper to 5.0.3 or later
gem install doorkeeper -v 5.0.3
Bundler
Update doorkeeper to 5.3.2 or later
gem install doorkeeper -v 5.3.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
doorkeeper
rubygems
5.1.05.1.1
doorkeeper
rubygems
5.2.0, 5.2.1, 5.2.2, 5.2.3 (+1 more)5.2.5
doorkeeper
rubygems
5.0.0, 5.0.1, 5.0.25.0.3
doorkeeper
rubygems
5.3.0, 5.3.15.3.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-862
    Missing AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2020-10187?
Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2020-10187?
CVE-2020-10187 affects doorkeeper. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-10187 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-j7vx-8mqj-cqp9

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies