GHSA-8vxv-2g8p-2249MediumCVSS 4.2

Observable Timing Discrepancy in totp-rs

Published
May 24, 2022
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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:

🎯 Affected products1

  • rust/totp-rs:< 1.1.0

🔗 References (8)