CVE-2020-10187 — Vulnerability in doorkeeper — CVE Details
Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.78%). Schedule for your next planned update.
Does your project use an affected doorkeeper version?
Paste your Gemfile.lock to check it for CVE-2020-10187 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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), available since Doorkeeper 5.1. This would render the exposed secret useless.
References
Advisory Timeline
- First published May 7, 2020 (2395 days ago).
- Last revised September 10, 2026 — 2316 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install doorkeeper -v 5.1.1
gem install doorkeeper -v 5.2.5
gem install doorkeeper -v 5.0.3
gem install doorkeeper -v 5.3.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| doorkeeper RubyGems · Affected: 5.1.0 | 5.1.1 |
| doorkeeper RubyGems · Affected: 5.2.0, 5.2.1, 5.2.2, 5.2.3 (+1 more) | 5.2.5 |
| doorkeeper RubyGems · Affected: 5.0.0, 5.0.1, 5.0.2 | 5.0.3 |
| doorkeeper RubyGems · Affected: 5.3.0, 5.3.1 | 5.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-862Missing AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-j7vx-8mqj-cqp9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10187ADVISORY
- https://github.com/rubysec/ruby-advisory-db/pull/446WEB
- https://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6WEB
- https://github.com/doorkeeper-gem/doorkeeper/releasesWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2020-10187.ymlWEB
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. It has a 1.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-10187 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 78.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2016-6582CRITICAL
Doorkeeper is vulnerable to replay attacks
- CVE-2018-1000211HIGH
Doorkeeper subject to Incorrect Permission Assignment
- CVE-2026-126366HIGH
msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
- CVE-2026-126081HIGH
Action Pack: Possible Strong Parameters Bypass in Parameters#each_key
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2018-1000088MEDIUM
Doorkeeper is vulnerable to stored XSS and code execution