# CVE-2015-7225: Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)

Source: https://junglewise.ai/threats/cve-2015-7225-tinfoil-devise-two-factor-does-not-burn-a-successfully-validated  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-08-28  
License: CC BY 4.0 with a link back

CVE-2015-7225 · Severity: low · CVSS 3 · Published 2018-08-28

Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)

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-2015-7225 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2015-7225 being exploited in the wild.

**How severe is CVE-2015-7225?** Low severity, with a CVSS score of 3, published 28 August 2018.

**Which products and versions are affected?** devise-two-factor (RubyGems) ECOSYSTEM:introduced=0,fixed=2.0.0.

**Is there a fix for CVE-2015-7225?** Yes. devise-two-factor (RubyGems): upgrade to 2.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2015-7225?** 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.

## How to fix

- devise-two-factor (RubyGems): upgrade to 2.0.0 or later

  ```sh
  bundle update devise-two-factor
  ```


## Affected products

- devise-two-factor (RubyGems) ECOSYSTEM:introduced=0,fixed=2.0.0

## Identifiers

- CVE-2015-7225
- GHSA-x489-jjwm-52g7

## 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)
- [Devise-Two-Factor vulnerable to brute force attacks](https://junglewise.ai/threats/cve-2024-0227-devise-two-factor-vulnerable-to-brute-force-attacks)
- [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)
