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 T…
Exact source revision recorded 24 Oct 2026 20:17:18 UTC. It does not establish the source's current position. Latest evidence.
nvd · CVE-2022-29185
Publishedtotp-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.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-203 · CWE-208
Original publisher date fields
published: 2022-05-20T20:15:10.140
lastModified: 2026-06-17T04:39:46.097
1 source CPE criteria · context only
- cpe:2.3:a:totp-rs_project:totp-rs:*:*:*:*:*:rust:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 20 May 2022 20:15:10 UTC
- Source modified
- 17 Jun 2026 04:39:46 UTC
- Observed here
- 24 Oct 2026 20:17:18 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · [email protected] · Secondary · 4.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
CVSS 3.1 · [email protected] · Primary · 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 · [email protected] · Primary · 3.5 AV:N/AC:M/Au:S/C:P/I:N/A:N