{
  "cveId": "CVE-2024-8796",
  "url": "https://patchblox.com/security/cve/CVE-2024-8796",
  "summary": "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.",
  "title": "ruby-devise-two-factor: Under the default configuration, Devise-Two-Factor versions \u0026gt;= 2.2.0 \u0026amp; \u0026lt; 6.0.0 generate TOTP shared secrets...",
  "description": "Under the default configuration, Devise-Two-Factor versions \u0026gt;= 2.2.0 \u0026amp; \u0026lt; 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.",
  "published": "2024-09-17T11:15:00Z",
  "severity": "Medium",
  "epss": 0.00641,
  "epssPercentile": 0.50951,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-devise-two-factor",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.1.0-2ubuntu0.1~esm1",
      "fix": "ruby-devise-two-factor 3.1.0-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ruby-devise-two-factor-3.1.0-2ubuntu0.1-esm1",
      "released": "2024-09-17T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-devise-two-factor",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "4.0.0-2ubuntu0.1~esm1",
      "fix": "ruby-devise-two-factor 4.0.0-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ruby-devise-two-factor-4.0.0-2ubuntu0.1-esm1",
      "released": "2024-09-17T11:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}