CVE-2023-34246 json
Doorkeeper Improper Authentication vulnerability
published 2023-06-12 3 y ago modified 2026-09-10 1 mo ago also GHSA-7w2c-w47h-789w , EUVD-2023-1739
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
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.
Patch / fix
- rubygems doorkeeper 5.6.6
- doorkeeper_project doorkeeper 5.6.6
- ruby-doorkeeper Debian 12 5.5.0-2+deb12u1
- ruby-doorkeeper Debian 14, Debian 13 5.6.6-2
debian advisories DEBIAN-CVE-2023-34246
- ruby-doorkeeper Ubuntu 20.04 LTS 5.0.2-2ubuntu0.1
- ruby-doorkeeper Ubuntu 22.04 LTS 5.5.0-2ubuntu0.22.04.1
- ruby-doorkeeper Ubuntu Pro 16.04 LTS 2.2.1-1ubuntu0.1~esm1
- ruby-doorkeeper Ubuntu Pro 18.04 LTS 4.3.1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2023-34246
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 22 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/doorkeeper-gem/doorkeeper/issues/1589 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | doorkeeper | <5.6.6 |
5.6.6 |
Affected products
- doorkeeper-gem doorkeeper
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/doorkeeper-gem/doorkeeper/pull/1646
web, patch
-
github.com
/doorkeeper-gem/doorkeeper/issues/1589
web, exploit, issue-tracking
-
github.com
/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w
web, vendor-advisory
-
github.com
/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6
web, release-notes
-
rfc-editor.org
/rfc/rfc8252#section-8.6
web, technical-description
-
lists.debian.org
/debian-lts-announce/2023/07/msg00016.html
web
-
lists.debian.org
/debian-lts-announce/2024/12/msg00010.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-34246
advisory
-
github.com
/doorkeeper-gem/doorkeeper
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2023-34246.yml
web
Sources
- CVE List CVE-2023-34246
- GitHub Advisory GHSA-7w2c-w47h-789w
- NVD CVE-2023-34246
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.