Advisory

GHSA-73rf-6mrf-759q

Also known as: CVE-2019-5421

Summary

devise Time-of-check Time-of-use Race Condition vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-03-19 18:03 UTC
Modified
2024-11-30 05:31 UTC

Affected packages and fixes

devise

RubyGems · All systems

Affected

  • introduced 0, fixed 4.6.0 (ecosystem)

Fixed versions

4.6.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences