CVE-2022-29185
Summary
| CVE | CVE-2022-29185 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-20 20:15:00 UTC |
| Updated | 2022-06-07 21:19:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-203
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Totp-rs Project | Totp-rs | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v1.1.0 · constantoine/totp-rs · GitHub | MISC | github.com | |
| Unsafe token check · Issue #13 · constantoine/totp-rs · GitHub | MISC | github.com | |
| Observable Timing Discrepancy in totp-rs · Advisory · constantoine/totp-rs · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.