CVE-2022-29185 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/constantoine/totp-rs/issues/13 | CVE | Issue TrackingThird Party Advisory |
| https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 | CVE | Release NotesThird Party Advisory |
| https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 | CVE | Third Party Advisory |
| https://github.com/constantoine/totp-rs/issues/13 | [email protected] | Issue TrackingThird Party Advisory |
| https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-203 | Observable Discrepancy | [email protected] |
| CWE-203 | Observable Discrepancy | [email protected] |
| CWE-208 | Observable Timing Discrepancy | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| totp-rs project totp-rs | < 1.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 7, 2022 | Initial Analysis | [email protected] |