CVE-2022-29185 - CVE House
Back to Database
Status published Medium CVE-2022-29185

Observable Timing Discrepancy in totp-rs

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-29185

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

constantoine

View all reports →

Affected Software

totp-rs
Vulnerable Versions:
<1.1.0

Timeline

Official Publish: May 20th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

Weaknesses (CWE)