Security Features Affecting ruby-devise-two-factor package, versions <2.0.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.35% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-RUBYDEVISETWOFACTOR-525180
  • published6 Sept 2017
  • disclosed6 Sept 2017

Introduced: 6 Sep 2017

CVE-2015-7225  (opens in a new tab)
CWE-254  (opens in a new tab)

How to fix?

Upgrade Debian:11 ruby-devise-two-factor to version 2.0.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-devise-two-factor package and not the ruby-devise-two-factor package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Tinfoil Devise-two-factor before 2.0.0 does not strictly follow section 5.2 of RFC 6238 and does not "burn" a successfully validated one-time password (aka OTP), which allows remote or physically proximate attackers with a target user's login credentials to log in as said user by obtaining the OTP through performing a man-in-the-middle attack between the provider and verifier, or shoulder surfing, and replaying the OTP in the current time-step.