{"id":"DEBIAN-CVE-2024-8796","details":"Under the default configuration, Devise-Two-Factor versions \u003e= 2.2.0 & \u003c 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.","modified":"2026-09-15T09:03:16.895825437Z","published":"2024-09-17T18:15:05.443Z","upstream":["CVE-2024-8796"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-8796"}],"affected":[{"package":{"name":"ruby-devise-two-factor","ecosystem":"Debian:12","purl":"pkg:deb/debian/ruby-devise-two-factor?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-8796.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}