{"id":"DHI-fcuf-tzy7-rjy4-d47k","summary":"Under the default configuration, Devise-Two-Factor versions \u003e= 2.2.0 & \u003c 6.0.0 generate TOTP shared secrets that are…","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-11-21T14:30:26.474683616Z","published":"2026-11-11T15:31:45Z","upstream":["CVE-2024-8796"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-fcuf-tzy7-rjy4-d47k"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8796"},{"type":"ADVISORY","url":"https://github.com/devise-two-factor/devise-two-factor/security/advisories/GHSA-qjxf-mc72-wjr2"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-8796"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qjxf-mc72-wjr2"},{"type":"FIX","url":"https://github.com/devise-two-factor/devise-two-factor/commit/cc6f34423d9c6af9f3e02be478c3c40dc7462e19"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2024-8796"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2024-8796"}],"affected":[{"package":{"name":"gitlab-rails-18","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitlab-rails-18"},"versions":["18.11.11-r0","18.11.11-r1","18.11.11-r2","18.11.12-r0","18.11.12-r1","18.11.12-r2","18.11.12-r3","18.11.12-r4","18.11.14-r0","18.11.14-r1","18.11.14-r10","18.11.14-r11","18.11.14-r12","18.11.14-r13","18.11.14-r14","18.11.14-r15","18.11.14-r2","18.11.14-r3","18.11.14-r4","18.11.14-r5","18.11.14-r6","18.11.14-r7","18.11.14-r8","18.11.14-r9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fcuf-tzy7-rjy4-d47k.json","owner_kind":"HSP"}},{"package":{"name":"gitlab-rails-18","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-rails-18"},"versions":["18.11.11-0","18.11.11-1","18.11.11-2","18.11.12-0","18.11.12-1","18.11.12-2","18.11.14-0","18.11.14-1","18.11.14-10","18.11.14-11","18.11.14-12","18.11.14-13","18.11.14-14","18.11.14-15","18.11.14-16","18.11.14-17","18.11.14-18","18.11.14-19","18.11.14-2","18.11.14-20","18.11.14-21","18.11.14-22","18.11.14-23","18.11.14-24","18.11.14-25","18.11.14-26","18.11.14-27","18.11.14-28","18.11.14-29","18.11.14-3","18.11.14-30","18.11.14-31","18.11.14-32","18.11.14-4","18.11.14-5","18.11.14-6","18.11.14-7","18.11.14-8","18.11.14-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fcuf-tzy7-rjy4-d47k.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}