ADVISORIES

Ubuntu Security Notice

USN-7050-1

ruby-devise-two-factor vulnerabilities

Details

Benoit Côté-Jodoin and Michael Nipper discovered that Devise-Two-Factor incorrectly handled one-time password validation. An attacker could possibly use this issue to intercept and re-use a one-time password. (CVE-2021-43177)

Garrett Rappaport discovered that Devise-Two-Factor incorrectly handled generating multi-factor authentication codes. An attacker could possibly use this issue to generate valid multi-factor authentication codes. (CVE-2024-8796)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:20.04:LTSruby-devise-two-factor
All versions before 3.1.0-2ubuntu0.1~esm1 (fixed in 3.1.0-2ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSruby-devise-two-factor
All versions before 4.0.0-2ubuntu0.1~esm1 (fixed in 4.0.0-2ubuntu0.1~esm1)

References