Live threats
VulnFox

All CVEs / Plataformatec

CVE-2019-5421Plataformatec Devise

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Apr 3, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-367, CWE-307
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Plataformatec Devise version 4.5.0 and earlier, using the lockable module contains a CWE-367 vulnerability in The `Devise::Models::Lockable` class, more specifically at the `#increment_failed_attempts` method. File location: lib/devise/models/lockable.rb that can result in Multiple concurrent requests can prevent an attacker from being blocked on brute force attacks. This attack appear to be exploitable via Network connectivity - brute force attacks. This vulnerability appears to have been fixed in 4.6.0 and later.

Original NVD text.

What to do

  1. Apply the vendor's security update for Devise.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems devise < 4.6.0 4.6.0 gem "devise", ">= 4.6.0"

Per OSV / GitHub Advisories (GHSA-73rf-6mrf-759q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
plataformatecdevise≤ 4.5.0

Official sources

References

Links published by the sources. Open them with care.