UBUNTU-CVE-2024-8796

Source
https://ubuntu.com/security/CVE-2024-8796
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-8796.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-8796
Related
Published
2024-09-17T18:15:00Z
Modified
2024-10-15T14:17:23Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-devise-two-factor

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.0-1

2.*

2.0.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-devise-two-factor

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.3-2
3.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / ruby-devise-two-factor

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0-2ubuntu0.1~esm1

Affected versions

3.*

3.0.3-2
3.1.0-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.0-2ubuntu0.1~esm1",
            "binary_name": "ruby-devise-two-factor"
        }
    ]
}

Ubuntu:22.04:LTS / ruby-devise-two-factor

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.0-2

4.*

4.0.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / ruby-devise-two-factor

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.0-2ubuntu0.1~esm1

Affected versions

3.*

3.1.0-2

4.*

4.0.0-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.0.0-2ubuntu0.1~esm1",
            "binary_name": "ruby-devise-two-factor"
        }
    ]
}