CVE-2023-34246
CVE-2023-34246 · Doorkeeper Improper Authentication vulnerability
CVSS 4.2 · Medium · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- doorkeeperNo fix published
- ruby-doorkeeper Debian 12Update to 5.5.0-2+deb12u1
- ruby-doorkeeper Debian 13Update to 5.6.6-2
- ruby-doorkeeper Debian 14Update to 5.6.6-2
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-doorkeeper"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- DLA-3989-1 · Debian 11 ·
- DLA-3494-1 · Debian 10 ·
- USN-6210-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
Affected products and versions
doorkeeper
- Versions
- < 5.6.6: Affected
No fix published
ruby-doorkeeper Debian 12
- Versions
- 5.5.0-2
- Affected ranges
- ECOSYSTEM: < 5.5.0-2+deb12u1
Update to 5.5.0-2+deb12u1
ruby-doorkeeper Debian 13
- Affected ranges
- ECOSYSTEM: < 5.6.6-2
Update to 5.6.6-2
ruby-doorkeeper Debian 14
- Affected ranges
- ECOSYSTEM: < 5.6.6-2
Update to 5.6.6-2
doorkeeper RubyGems
- Versions
- 0.1.0
- 0.1.1
- 0.2.0
- 0.3.0
- 0.3.1
- 0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keeper Ubuntu Pro 16.04 LTS
- Versions
- 2.2.1-1
- Affected ranges
- ECOSYSTEM: < 2.2.1-1ubuntu0.1~esm1
Update to 2.2.1-1ubuntu0.1~esm1
ruby-doorkeeper Ubuntu Pro 18.04 LTS
- Versions
- 4.2.0-3
- 4.3.1-1
- Affected ranges
- ECOSYSTEM: < 4.3.1-1ubuntu0.1~esm1
Update to 4.3.1-1ubuntu0.1~esm1
ruby-doorkeeper Ubuntu 20.04 LTS
- Versions
- 4.4.2-1
- 5.0.2-2
- Affected ranges
- ECOSYSTEM: < 5.0.2-2ubuntu0.1
Update to 5.0.2-2ubuntu0.1
ruby-doorkeeper Ubuntu 22.04 LTS
- Versions
- 5.3.0-2
- 5.5.0-2
- Affected ranges
- ECOSYSTEM: < 5.5.0-2ubuntu0.22.04.1
Update to 5.5.0-2ubuntu0.22.04.1
Original sources
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w
- https://github.com/doorkeeper-gem/doorkeeper/issues/1589
- https://github.com/doorkeeper-gem/doorkeeper/pull/1646
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6
- https://www.rfc-editor.org/rfc/rfc8252#section-8.6
- https://lists.debian.org/debian-lts-announce/2023/07/msg00016.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00010.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-34246