Timing Attack Affecting totp-rs package, versions <1.1.0
Snyk CVSS
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Confidentiality
High
Threat Intelligence
EPSS
0.1% (42nd
percentile)
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
Introduced: 9 May 2022
CVE-2022-29185 Open this link in a new tabHow 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.