{"id":"CVE-2023-34246","aliases":["CVE-2023-34246","GHSA-7w2c-w47h-789w"],"related":[],"kind":"vulnerability","state":"published","title":"Doorkeeper Improper Authentication vulnerability","summary":"Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.","source":"cvelist"},{"lang":"en","text":"OAuth RFC 8252 says  https://www.rfc-editor.org/rfc/rfc8252#section-8.6\n\n> the authorization server SHOULD NOT process authorization requests automatically without user consent or interaction, except when the identity of the client can be assured. **This includes the case where the user has previously approved an authorization request for a given client id**\n\nBut Doorkeeper automatically processes authorization requests without user consent for public clients that have been previously approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured.\n\nIssue https://github.com/doorkeeper-gem/doorkeeper/issues/1589\n\nFix https://github.com/doorkeeper-gem/doorkeeper/pull/1646","format":"markdown","source":"ghsa"}],"published":"2023-06-12T16:33:05.704Z","modified":"2026-09-10T03:50:02.187Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"< 5.6.6","status":"affected"}],"vendor":"doorkeeper-gem","product":"doorkeeper","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.6"}],"ecosystem":"RubyGems","package":"doorkeeper","purl":"pkg:gem/doorkeeper","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.6.6"}],"vendor":"doorkeeper_project","product":"doorkeeper","cpe":"cpe:2.3:a:doorkeeper_project:doorkeeper:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/issues/1589","tags":["exploit","issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/pull/1646","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.rfc-editor.org/rfc/rfc8252#section-8.6","tags":["technical-description","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00016.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00010.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34246","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2023-34246.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-01-03T23:12:01.958Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34246","url":"https://www.cve.org/CVERecord?id=CVE-2023-34246","licence":"CVE Terms of Use","modified":"2025-02-13T16:55:25.344Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7w2c-w47h-789w","url":"https://github.com/advisories/GHSA-7w2c-w47h-789w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:02.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34246","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34246","licence":"Public domain","modified":"2026-06-17T06:03:12.910Z"}],"updatedAt":"2026-11-25T22:58:24.745Z","epss":{"score":0.00797,"percentile":0.5322,"date":"2026-11-30T12:00:22.000Z"}}