Advisory

GHSA-7w2c-w47h-789w

Also known as: CVE-2023-34246

Summary

Doorkeeper Improper Authentication vulnerability

Details

OAuth RFC 8252 says https://www.rfc-editor.org/rfc/rfc8252#section-8.6

> the authorization server SHOULD NOT process authorization requests automatically without user consent or interaction, except when the identity of the client can be assured. This includes the case where the user has previously approved an authorization request for a given client id

But Doorkeeper automatically processes authorization requests without user consent for public clients that have been previously approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured.

Issue https://github.com/doorkeeper-gem/doorkeeper/issues/1589

Fix https://github.com/doorkeeper-gem/doorkeeper/pull/1646

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-12 19:50 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

doorkeeper

RubyGems · All systems

Affected

  • introduced 0, fixed 5.6.6 (ecosystem)

Fixed versions

5.6.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences