SCA: security update for devise-two-factor (GHSA-qjxf-mc72-wjr2)

medium Tenable Self-Hosted Container Security Plugin ID 418190

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-8796)

See Also

https://github.com/advisories/GHSA-qjxf-mc72-wjr2

Plugin Details

Severity: Medium

ID: 418190

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2024-8796

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/17/2024

Vulnerability Publication Date: 9/17/2024

Reference Information

CVE: CVE-2024-8796

cwe: CWE-331