USN-7050-1

Source
https://ubuntu.com/security/notices/USN-7050-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7050-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7050-1
Upstream
Related
Published
2024-10-01T14:47:15.075377Z
Modified
2025-10-13T04:38:40Z
Summary
ruby-devise-two-factor vulnerabilities
Details

Benoit Côté-Jodoin and Michael Nipper discovered that Devise-Two-Factor incorrectly handled one-time password validation. An attacker could possibly use this issue to intercept and re-use a one-time password. (CVE-2021-43177)

Garrett Rappaport discovered that Devise-Two-Factor incorrectly handled generating multi-factor authentication codes. An attacker could possibly use this issue to generate valid multi-factor authentication codes. (CVE-2024-8796)

References

Affected packages

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

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor@3.1.0-2ubuntu0.1~esm1?arch=source&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

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

Database specific

cves_map

{
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2021-43177"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "CVSS_V4",
                    "score": "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"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-8796"
        }
    ],
    "ecosystem": "Ubuntu:Pro:20.04:LTS"
}

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

Package

Name
ruby-devise-two-factor
Purl
pkg:deb/ubuntu/ruby-devise-two-factor@4.0.0-2ubuntu0.1~esm1?arch=source&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

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

Database specific

cves_map

{
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2021-43177"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "type": "CVSS_V4",
                    "score": "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"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-8796"
        }
    ],
    "ecosystem": "Ubuntu:Pro:22.04:LTS"
}