RUSTSEC-2022-0018

    Dashboard / Vulnerabilities / RUSTSEC-2022-0018

    RUSTSEC-2022-0018

    Published: 9 May 2022Last Modified: 8 Nov 2023

    Summary: Timing attack

    Details: Affecting versions did not compare tokens in constant time, which could make it possible for an attacker to guess the 2fa token of a user. This has been fixed by using using the crate constant_time_eq for comparison.

    Affected packages

    Package

    Name: totp-rs

    Purl: pkg:cargo/totp-rs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -1.1.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2022-0018 | CVE-DB