Read the docs
TI-2022-11728 Aliases CVE-2022-29185GHSA-8vxv-2g8p-2249

Observable Timing Discrepancy in totp-rs

Priority LOW 22CWE-203Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-203.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00863 58th percentileScored 2026-11-07
Fix Fixed totp-rs (constantoine): 1.1.0totp-rs (crates.io): 1.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
constantoinetotp-rsbefore 1.1.01.1.0Patch availableCNA
—totp-rs (crates.io)before 1.1.01.1.0Patch availableGHSA-8vxv-2g8p-2249
  • totp-rs Vendorconstantoine Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA
  • totp-rs (crates.io) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-8vxv-2g8p-2249

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:totp-rs_project:totp-rs:*:*:*:*:*:rust:*:*before 1.1.0VulnerableTotp-rs Project
  • cpe:2.3:a:totp-rs_project:totp-rs:*:*:*:*:*:rust:*:* Versions before 1.1.0 Vulnerable ·Totp-rs Project

Remediation

  • Fix · CNA totp-rs (constantoine) Fixed in 1.1.0
  • Fix · GHSA-8vxv-2g8p-2249 totp-rs (crates.io) Fixed in 1.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-29185
  2. 2026-10-03 Alias added: GHSA-8vxv-2g8p-2249

References

Sources