CVE-2024-8796

Sept. 30, 2024, 2:10 p.m.

CVSS Score

5.3 / 10

Products Impacted

Vendor Product Versions
tinfoilsecurity
  • devise-two-factor
  • *, 1.0.0

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.

Weaknesses

CWE-331
Insufficient Entropy

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

CWE ID: 331

Date

Published: Sept. 17, 2024, 6:15 p.m.

Last Modified: Sept. 30, 2024, 2:10 p.m.

Status : Analyzed

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

disclosure@synopsys.com

CPEs

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a tinfoilsecurity devise-two-factor / / / / / / / /
a tinfoilsecurity devise-two-factor 1.0.0 / / / / / / /

CVSS Data

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

Base Score
5.3
Exploitability Score
1.6
Impact Score
3.6
Base Severity
MEDIUM
CVSS Vector String

The CVSS vector string provides an in-depth view of the vulnerability metrics.

View Vector String

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

References