CVE-2024-8796

ruby-devise-two-factor: Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets...

CVE-2024-8796 is fixed in ruby-devise-two-factor on 1 platform, first by ruby-devise-two-factor 3.1.0-2ubuntu0.1~esm1, released September 17, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0064
50th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
ruby-devise-two-factor · Ubuntu 20.04 LTS (focal) 3.1.0-2ubuntu0.1~esm1 ruby-devise-two-factor 3.1.0-2ubuntu0.1~esm1 Sep 17, 2024
ruby-devise-two-factor · Ubuntu 22.04.1 LTS (jammy) 4.0.0-2ubuntu0.1~esm1 ruby-devise-two-factor 4.0.0-2ubuntu0.1~esm1 Sep 17, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.