Vulnerability · Published May 4, 2020 · Assigned by mitre
CVE-2020-10187
High 7.5
In plain English
A high-severity security flaw in the ruby-doorkeeper package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Doorkeeper version 5.0.0 and later contains an information disclosure vulnerability that 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-doorkeeper | 5.0.3-1 | DEBIAN-CVE-2020-10187 |
| Debian:13 | ruby-doorkeeper | 5.0.3-1 | DEBIAN-CVE-2020-10187 |
| Debian:14 | ruby-doorkeeper | 5.0.3-1 | DEBIAN-CVE-2020-10187 |
| RubyGems | doorkeeper | 5.0.3 | GHSA-j7vx-8mqj-cqp9 |
| RubyGems | doorkeeper | 5.3.2 | GHSA-j7vx-8mqj-cqp9 |
| RubyGems | doorkeeper | 5.1.1 | GHSA-j7vx-8mqj-cqp9 |
| RubyGems | doorkeeper | 5.2.5 | GHSA-j7vx-8mqj-cqp9 |
Affected products (as reported)
References
- https://github.com/doorkeeper-gem/doorkeeper/releases x_refsource_MISC
- https://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6 x_refsource_MISC
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-j7vx-8mqj-cqp9 x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/pull/446 x_refsource_MISC