Time of Check Time of Use (TOCTOU) Affecting devise package, versions <4.6.0
Threat Intelligence
EPSS
0.34% (72nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-DEVISE-173787
- published 17 Mar 2019
- disclosed 14 Mar 2019
- credit Fredrik Eckardt
Introduced: 14 Mar 2019
CVE-2019-5421 Open this link in a new tabHow to fix?
Upgrade devise
to version 4.6.0 or higher.
Overview
devise is a flexible authentication solution for Rails with Warden.
Affected versions of this package are vulnerable to Time of Check Time of Use (TOCTOU). The increment_failed_attempts
function within the Devise::Models::Lockable
class is not concurrency safe.
References
CVSS Scores
version 3.1