CVE-2022-29185CWE-203CWE-208

Observable Timing Discrepancy in totp-rs

Medium · published May 20, 2022

CVSS v3.1
4.2
EPSS
1%
Percentile
58.2
In the wild
Unconfirmed
What it is

totp-rs is a Rust library that permits the creation of 2FA authentification tokens per time-based one-time password (TOTP). Prior to version 1.1.0, 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. Starting with patched version 1.1.0, the library uses constant-time comparison. There are currently no known workarounds.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00863 · 58.2th percentile
Weaknesses
CWE-203 · Observable Discrepancy; CWE-208 · Observable Timing Discrepancy
Published
2022-05-20T19:30Z
EPSS history
Timeline
  • 20 MAY 19:30Z
    Observable Timing Discrepancy in totp-rs
    cvelistv5