doorkeeper
Affected
- introduced
5.0.0, fixed5.0.3(ecosystem)
Fixed versions
5.0.3
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2020-10187
Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper
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:
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
High Basis: The source's own band: HIGH
5.0.0, fixed 5.0.3 (ecosystem)5.0.3
The export has no generic command for this ecosystem.
5.1.0, fixed 5.1.1 (ecosystem)5.1.1
The export has no generic command for this ecosystem.
5.2.0, fixed 5.2.5 (ecosystem)5.2.5
The export has no generic command for this ecosystem.
5.3.0, fixed 5.3.2 (ecosystem)5.3.2
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0