GHSA-8vxv-2g8p-2249

    Dashboard / Vulnerabilities / GHSA-8vxv-2g8p-2249

    GHSA-8vxv-2g8p-2249

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: Observable Timing Discrepancy in totp-rs

    Details: ### Impact Token comparison was not constant time, and could theorically be used to guess value of an TOTP token, and thus reuse it in the same time window. The attacker would have to know the password beforehand nonetheless. ### Patches Library now used constant-time comparison. ### Workarounds No. ### For more information If you have any questions or comments about this advisory: * Open an issue in [totp-rs](https://github.com/constantoine/totp-rs) * Email us at [[email protected]](mailto:[email protected])

    Affected packages

    Package

    Name: totp-rs

    Purl: pkg:cargo/totp-rs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 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
    GHSA-8vxv-2g8p-2249 | CVE-DB