Description
An issue was discovered in Plataformatec Devise before 4.7.1. It confirms accounts upon receiving a request with a blank confirmation_token, if a database record has a blank value in the confirmation_token column. (However, there is no scenario within Devise itself in which such database records would exist.)
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | ruby-devise | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-devise | No fix yet | — |
| Ubuntu 20.04 LTS | ruby-devise | No fix yet | — |
| Ubuntu 18.04 LTS | ruby-devise | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-devise | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | devise | < 4.7.1 | 4.7.1 | GHSA-fcjw-8rhj-gwwc |