Ubuntu CVE Tracker
UBUNTU-CVE-2021-43177
Details
As a result of an incomplete fix for CVE-2015-7225, in versions of devise-two-factor prior to 4.0.2 it is possible to reuse a One-Time-Password (OTP) for one (and only one) immediately trailing interval. CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | ruby-devise-two-factor | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | ruby-devise-two-factor | All versions before 3.1.0-2ubuntu0.1~esm1 (fixed in 3.1.0-2ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | ruby-devise-two-factor | All versions before 4.0.0-2ubuntu0.1~esm1 (fixed in 4.0.0-2ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2021-43177
- https://github.com/tinfoil/devise-two-factor/security/advisories/GHSA-jm35-h8q2-73mp
- https://github.com/tinfoil/devise-two-factor/pull/108
- https://github.com/tinfoil/devise-two-factor/commit/64576bb9e7d29800c5f92bb86fb6ecff91ad6105
- https://www.cve.org/CVERecord?id=CVE-2021-43177
- https://ubuntu.com/security/notices/USN-7050-1