Skip to content
OpenAdvisories
Medium · 4.2 CVE-2023-34246 EUVD-2023-1739GHSA-7w2c-w47h-789w

Doorkeeper Improper Authentication vulnerability

Published Jun 12, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
doorkeeper-gem doorkeeper < 5.6.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-doorkeeper 5.6.6-2 —
Debian 13 ruby-doorkeeper 5.6.6-2 —
Debian 12 ruby-doorkeeper 5.5.0-2+deb12u1 —
Debian 11 ruby-doorkeeper 5.3.0-2+deb11u1 DLA-3989-1
Debian 10 ruby-doorkeeper 4.4.2-1+deb10u1 DLA-3494-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS ruby-doorkeeper 5.5.0-2ubuntu0.22.04.1 USN-6210-1
Ubuntu 20.04 LTS ruby-doorkeeper 5.0.2-2ubuntu0.1 USN-6210-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS ruby-doorkeeper 4.3.1-1ubuntu0.1~esm1 USN-6210-1
Ubuntu Pro 16.04 LTS ruby-doorkeeper 2.2.1-1ubuntu0.1~esm1 USN-6210-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems doorkeeper < 5.6.6 5.6.6 GHSA-7w2c-w47h-789w

Advisories 3

References