CVEfocus › CVE database › CVE-2023-34246

CVE-2023-34246Doorkeeper Improper Authentication vulnerability

CVSS 4.2 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2023-06-12Updated 2025-02-13Assigner: GitHub_M

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.

CWE-287

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-doorkeeperNot affected
vulnerable_code_not_present
Ubuntu 24.04ruby-doorkeeper-openid-connectNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-doorkeeperFixed5.5.0-2ubuntu0.22.04.1UBUNTU-CVE-2023-34246
Ubuntu 22.04ruby-doorkeeper-openid-connectNot affected
vulnerable_code_not_present
Ubuntu 20.04ruby-doorkeeperFixed5.0.2-2ubuntu0.1UBUNTU-CVE-2023-34246
Ubuntu 20.04ruby-doorkeeper-openid-connectNot affected
vulnerable_code_not_present
Ubuntu 18.04ruby-doorkeeperFix pending4.3.1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-34246
Ubuntu 18.04ruby-doorkeeper-openid-connectFix pending
Ubuntu 16.04ruby-doorkeeperFix pending2.2.1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-34246
Debian 14ruby-doorkeeperFixed5.6.6-2DEBIAN-CVE-2023-34246
Debian 13ruby-doorkeeperFixed5.6.6-2DEBIAN-CVE-2023-34246
Debian 12ruby-doorkeeperFixed5.5.0-2+deb12u1DEBIAN-CVE-2023-34246
RubyGems librarydoorkeeperFixed5.6.6GHSA-7w2c-w47h-789w

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.