Timing Attack Affecting totp-rs package, versions <1.1.0


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    EPSS 0.1% (42nd percentile)
Expand this section
NVD
4.4 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-TOTPRS-2812826
  • published 10 May 2022
  • disclosed 9 May 2022
  • credit Unknown

How to fix?

Upgrade totp-rs to version 1.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack as it does not compare tokens in constant time, which can make it possible for an attacker to guess the 2fa token of a user.