Description
OmniAuth is a flexible authentication system utilizing Rack middleware. Prior to 2.2.0, OmniAuth derives provider callback URLs from request-controlled host information when neither a fixed full_host nor framework-level incoming host validation is configured. A remote unauthenticated client can supply a forged Host header, creating a host header injection risk in applications whose web framework does not verify incoming host headers. Applications using appropriately configured Rails host authorization or a fixed full_host are not affected by this path. This issue is fixed in version 2.2.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| omniauth | omniauth | < 2.2.0 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-omniauth | No fix yet | — |
| Debian 13 | ruby-omniauth | No fix yet | — |
| Debian 12 | ruby-omniauth | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-omniauth | No fix yet | — |
| Ubuntu 26.04 LTS | ruby-omniauth | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-omniauth | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-omniauth | No fix yet | — |
| Ubuntu 20.04 LTS | ruby-omniauth | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ruby-omniauth | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-omniauth | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | omniauth | < 2.2.0 | 2.2.0 | GHSA-m27g-v28p-f9fx |