Description
In strategy.rb in OmniAuth before 1.3.2, the authenticity_token value is improperly protected because POST (in addition to GET) parameters are stored in the session and become available in the environment of the callback phase.
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 | 1.3.1-2 | — |
| Debian 13 | ruby-omniauth | 1.3.1-2 | — |
| Debian 12 | ruby-omniauth | 1.3.1-2 | — |
| Debian 9 | ruby-omniauth | 1.3.1-1+deb9u1 | DSA-4109-1 |
| Debian 8 | ruby-omniauth | 1.2.1-1+deb8u1 | DSA-4109-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | ruby-omniauth | 1.3.1-1+deb9u1build0.16.04.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | omniauth | < 1.3.2 | 1.3.2 | GHSA-9pr6-grf4-x2fr |
Advisories 1
- DSA-4109-1 ruby-omniauth - security update Debian Security (DSA / DLA) · Mar 9, 2026