CVE-2019-9837
Doorkeeper::OpenidConnect (aka the OpenID Connect extension for Doorkeeper) 1.4.x and 1.5.x before 1.5.4 has an open redirect via the redirect_uri field in an OAuth authorization request (that results in an error response) with the 'openid' scope and a prompt=none value. This allows phishing attacks against the authorization flow.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | ruby-doorkeeper-openid-connect | Not affected vulnerable_code_not_present | ||
| Debian 14 | ruby-doorkeeper-openid-connect | Fixed | 1.5.5-1 | DEBIAN-CVE-2019-9837 |
| Debian 13 | ruby-doorkeeper-openid-connect | Fixed | 1.5.5-1 | DEBIAN-CVE-2019-9837 |
| Debian 12 | ruby-doorkeeper-openid-connect | Fixed | 1.5.5-1 | DEBIAN-CVE-2019-9837 |
| RubyGems library | doorkeeper-openid_connect | Fixed | 1.5.4 | GHSA-vv4c-g6q7-p3q7 |
References
- https://github.com/doorkeeper-gem/doorkeeper-openid_connect/pull/66
- https://github.com/doorkeeper-gem/doorkeeper-openid_connect/issues/61
- https://github.com/doorkeeper-gem/doorkeeper-openid_connect/blob/master/CHANGELOG.md
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.