Insufficient Entropy Affecting ruby-devise-two-factor package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-RUBYDEVISETWOFACTOR-8022899
  • published18 Sept 2024
  • disclosed17 Sept 2024

Introduced: 17 Sep 2024

CVE-2024-8796  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 ruby-devise-two-factor.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-devise-two-factor package and not the ruby-devise-two-factor package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1