Vulnerability GHSA-8vxv-2g8p-2249

Medium Risk
MEDIUM RISK
CVSS Score: 4.2
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
4 years ago
May 24, 2022 at 09:33 PM UTC
Observable Timing Discrepancy in totp-rs
0.2.0 - 1.0.0
0.2.0 - 1.0.0

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:

Impacted packages

Timeline

Published
4 years ago
May 24, 2022 at 09:33 PM UTC
Fixed (1.1.0)
4 years ago
April 24, 2022 at 02:57 PM UTC
Last Modified
2 years ago
November 08, 2023 at 04:09 AM UTC