CVE & CISA-KEV Catalog

CVE-2024-8796

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
ruby-devise-two-factorUbuntu
Fixed in:3.1.0-2ubuntu0.1~esm1USN-7050-1
Fixed in:4.0.0-2ubuntu0.1~esm1USN-7050-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.64%probability of exploitation in 30 days
47thpercentile

Moderate risk: more likely to be exploited than 47% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-331 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2008-1447Medium6.895%-Fix
CVE-2018-18326High7.554%--
CVE-2018-15812High7.547%--
CVE-2023-38357Medium5.35.3%-Fix
CVE-2015-3405High7.55.3%-Fix
CVE-2008-2108Critical9.84.3%-Fix

Common questions

How do I fix CVE-2024-8796?

Upgrade ruby-devise-two-factor on ubuntu 20.04 to 3.1.0-2ubuntu0.1~esm1 or later.

Is CVE-2024-8796 being actively exploited?

Not that we know of. CVE-2024-8796 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.64% is the estimated probability that it will be exploited in the next 30 days. That is higher than 47% of all scored CVEs.

How severe is CVE-2024-8796?

CVE-2024-8796 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-8796 affect?

Published advisories record a fix for ruby-devise-two-factor (Ubuntu). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-8796
CVE-2024-8796 severity badge

Markdown

[![CVE-2024-8796](https://tridentstack.com/cve/badge/CVE-2024-8796.svg)](https://tridentstack.com/cve/CVE-2024-8796)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-8796"><img src="https://tridentstack.com/cve/badge/CVE-2024-8796.svg" alt="CVE-2024-8796"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-09-30.