Vulnerability
CVE-2024-8796
Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the minimum to generate a multi-factor authentication code could make it easier for an attacker to guess the shared secret and generate valid TOTP codes.
48 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-2fhh-c72h-xp78
- CGA-2g57-hvx2-68wv
- CGA-2p2g-rrgv-2v48
- CGA-4gwh-hg97-h5xq
- CGA-564m-99fq-252g
- CGA-59mv-f785-6p7x
- CGA-5c9r-jh32-x3v4
- CGA-68p4-26v6-f34p
- CGA-6fr5-xxr4-mhpc
- CGA-6v66-593p-c29r
- CGA-6v89-g2rp-wchx
- CGA-737v-wxqf-g6v4
- CGA-7836-9vv8-h95q
- CGA-8v9p-xhr3-x4hc
- CGA-9m6h-743c-gxwf
- CGA-cg6j-96r9-jx75
- CGA-cw33-mrwf-5wvq
- CGA-fm77-9pqm-25w5
- CGA-h5q7-q7jr-2c49
- CGA-h862-w7wx-w4x6
- CGA-hfx3-6m8c-fhp3
- CGA-hjwc-mfgv-x5j9
- CGA-hq4w-898j-c3jh
- CGA-hr8h-2hff-jp45
- CGA-jc85-5xhf-fxr9
- CGA-jfwx-89gh-hpv6
- CGA-jqwh-wvq5-3xw2
- CGA-jv5w-9499-rw9w
- CGA-mf4c-m5hc-5728
- CGA-pm46-vjw2-fw23
- CGA-pqhh-9w78-95r2
- CGA-pvmh-r8jm-qpqx
- CGA-v6wj-5v7f-8xrm
- CGA-v82j-h872-w3fj
- CGA-vgvx-q9f7-4xj8
- CGA-vgwh-5pgj-c943
- CGA-vjh7-9hxr-3mwx
- CGA-vr8h-225m-99gx
- CGA-vvmg-jw5j-x25x
- CGA-w3hq-6r67-7f62
- CGA-wphc-6rhh-45f2
- CGA-wvv8-7pv8-q5h5
- CGA-xjg9-qchh-5hhp
- CGA-xvhv-6xjf-4xfm
-
DEBIAN-CVE-2024-8796
Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the…
-
GHSA-qjxf-mc72-wjr2
Devise-Two-Factor Authentication Uses Insufficient Default OTP Shared Secret Length
-
UBUNTU-CVE-2024-8796
Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the…
-
USN-7050-1
ruby-devise-two-factor vulnerabilities