# CVE-2024-0227: Devise-Two-Factor vulnerable to brute force attacks

Source: https://junglewise.ai/threats/cve-2024-0227-devise-two-factor-vulnerable-to-brute-force-attacks  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-01-12  
License: CC BY 4.0 with a link back

CVE-2024-0227 · Severity: low · CVSS 3.1 · Published 2024-01-12

Devise-Two-Factor vulnerable to brute force attacks

Technologies: [devise-two-factor (RubyGems)](https://junglewise.ai/threats/technologies/devise-two-factor). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2024-0227 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-0227 being exploited in the wild.

**How severe is CVE-2024-0227?** Low severity, with a CVSS score of 3.1, published 12 January 2024.

**Which products and versions are affected?** devise-two-factor (RubyGems) ECOSYSTEM:introduced=1.0.0,last_affected=5.0.0.

**Is there a fix for CVE-2024-0227?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-0227?** Check whether you run devise-two-factor (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- devise-two-factor (RubyGems) ECOSYSTEM:introduced=1.0.0,last_affected=5.0.0

## Identifiers

- CVE-2024-0227
- GHSA-chcr-x7hc-8fp8

## Related threats

- [Devise-Two-Factor Authentication Uses Insufficient Default OTP Shared Secret Length](https://junglewise.ai/threats/cve-2024-8796-devise-two-factor-authentication-uses-insufficient-default-otp)
- [Improper one time password handling in devise-two-factor](https://junglewise.ai/threats/cve-2021-43177-improper-one-time-password-handling-in-devise-two-factor)
- [Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)](https://junglewise.ai/threats/cve-2015-7225-tinfoil-devise-two-factor-does-not-burn-a-successfully-validated)
