CVE-2020-10187
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 5.0.3-1 |
| sid | Fixed | 5.0.3-1 |
| forky | Fixed | 5.0.3-1 |
| bullseye | Fixed | 5.0.3-1 |
| bookworm | Fixed | 5.0.3-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | doorkeeper | !< 5.0.0||<~> 5.0.3 | ~> 5.0.3 |
| RubyGems | doorkeeper | >=5.0.0,<5.0.3 | 5.0.3 |
| RubyGems | doorkeeper | >=5.1.0,<5.1.1 | 5.1.1 |
| RubyGems | doorkeeper | >=5.2.0,<5.2.5 | 5.2.5 |
| RubyGems | doorkeeper | >=5.3.0,<5.3.2 | 5.3.2 |
References
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-j7vx-8mqj-cqp9
- https://nvd.nist.gov/vuln/detail/CVE-2020-10187
- https://github.com/rubysec/ruby-advisory-db/pull/446
- https://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6
- https://github.com/doorkeeper-gem/doorkeeper/releases
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2020-10187.yml
- https://security-tracker.debian.org/tracker/CVE-2020-10187
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.