Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CVE-2019-5421 for devise #375

Merged
merged 1 commit into from
Mar 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions gems/devise/CVE-2019-5421.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
gem: devise
cve: 2019-5421
url: https://github.com/plataformatec/devise/issues/4981
title: Devise Gem for Ruby Time-of-check Time-of-use race condition with lockable module
date: 2019-02-07
description: |
Devise ruby gem before 4.6.0 when the `lockable` module is used is vulnerable to a
time-of-check time-of-use (TOCTOU) race condition due to `increment_failed_attempts`
within the `Devise::Models::Lockable` class not being concurrency safe.
patched_versions:
- ">= 4.6.0"