USN-7050-1: Devise-Two-Factor vulnerabilities

Published Oct 1, 2024
·
Updated

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 Software

4 affected componentsFixes available
All of the following
ubuntu/ruby-devise-two-factor<4.0.0-2ubuntu0.1~esm1
4.0.0-2ubuntu0.1~esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/ruby-devise-two-factor<3.1.0-2ubuntu0.1~esm1
3.1.0-2ubuntu0.1~esm1
Ubuntu Ubuntu=20.04

Event History

Oct 1, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7050-1?

The severity of USN-7050-1 is significant due to its potential for an attacker to intercept and reuse one-time passwords.

2

How do I fix USN-7050-1?

To fix USN-7050-1, update the ruby-devise-two-factor package to version 4.0.0-2ubuntu0.1~esm1 for Ubuntu 22.04 or to version 3.1.0-2ubuntu0.1~esm1 for Ubuntu 20.04.

3

What vulnerabilities are addressed in USN-7050-1?

USN-7050-1 addresses vulnerabilities related to inadequate handling of one-time password validation in the Devise-Two-Factor package.

4

Is my system affected by USN-7050-1?

If you are using ruby-devise-two-factor version 4.0.0-2ubuntu0.1~esm1 or 3.1.0-2ubuntu0.1~esm1 on Ubuntu 22.04 or 20.04, respectively, your system is affected by USN-7050-1.

5

How can attackers exploit the vulnerability in USN-7050-1?

Attackers can exploit USN-7050-1 by intercepting one-time passwords and reusing them for unauthorized access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203