🛡️ CVE-2024-8796 on Debian — ruby-devise-two-factor
Description
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.
Distribution advisory
This page covers CVE-2024-8796 as tracked by Debian, for the package ruby-devise-two-factor. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Weakness class
DEBIAN-CVE-2024-8796 is classified as CWE-331: Insufficient Entropy. A generator is seeded with too little randomness, narrowing the range of outputs an attacker must search.
Affected software
DEBIAN-CVE-2024-8796 is recorded against 1 package.
- ruby-devise-two-factor
Timeline and source
Published on 17 September 2024 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-8796 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ruby-devise-two-factor | — | — |
References
Similar Threats
- Unknown USN-7050-1
- Unknown UBUNTU-CVE-2024-8796
- Unknown DEBIAN-CVE-2021-43177
- Unknown UBUNTU-CVE-2021-43177
Vulnerability Monitoring
Track new vulnerabilities in ruby-devise-two-factor
DEBIAN-CVE-2024-8796 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.