GitHub Advisory Database
GHSA-fcjw-8rhj-gwwc
Authentication Bypass in Devise
Details
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.)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | devise | All versions before 4.7.1 (fixed in 4.7.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16109
- https://github.com/plataformatec/devise/issues/5071
- https://github.com/plataformatec/devise/pull/5132
- https://github.com/plataformatec/devise
- https://github.com/plataformatec/devise/compare/v4.7.0...v4.7.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/CVE-2019-16109.yml