Vulnerability · Published Jun 12, 2023 · Assigned by GitHub_M
CVE-2023-34246Doorkeeper Improper Authentication vulnerability
Medium 4.2
In plain English
A medium-severity improper authentication in doorkeeper from doorkeeper-gem. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-doorkeeper | 5.5.0-2+deb12u1 | DEBIAN-CVE-2023-34246 |
| Debian:13 | ruby-doorkeeper | 5.6.6-2 | DEBIAN-CVE-2023-34246 |
| Debian:14 | ruby-doorkeeper | 5.6.6-2 | DEBIAN-CVE-2023-34246 |
| RubyGems | doorkeeper | 5.6.6 | GHSA-7w2c-w47h-789w |
| Ubuntu:22.04:LTS | ruby-doorkeeper | 5.5.0-2ubuntu0.22.04.1 | USN-6210-1 |
| Ubuntu:22.04:LTS | ruby-doorkeeper | 5.5.0-2ubuntu0.22.04.1 | UBUNTU-CVE-2023-34246 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| doorkeeper-gem | doorkeeper | < 5.6.6 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w x_refsource_CONFIRM
- https://github.com/doorkeeper-gem/doorkeeper/issues/1589 x_refsource_MISC
- https://github.com/doorkeeper-gem/doorkeeper/pull/1646 x_refsource_MISC
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6 x_refsource_MISC
- https://www.rfc-editor.org/rfc/rfc8252#section-8.6 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2023/07/msg00016.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00010.html