USN-7050-1

Type: Security
Severity: Medium
Published: 2024-10-01
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

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) Update Instructions: Run `sudo pro fix USN-7050-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ruby-devise-two-factor - 3.1.0-2ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:32:51.598Z UTC.

Upstream Advisory

Affected Packages

  • ruby-devise-two-factor 3.1.0-2ubuntu0.1~esm1-3.1.0-2ubuntu0.1~esm1

  • ruby-devise-two-factor 4.0.0-2ubuntu0.1~esm1-4.0.0-2ubuntu0.1~esm1

Interested in being alerted when there are new versions of ruby-devise-two-factor and the other packages? Set up an alert.
USN-7050-1: Devise-Two-Factor vulnerabilities | Package Alert