> CVE-2022-29185 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-05-20 20:15
MODIFIED
2024-11-21 06:58
CVSS_SCORE V3
4.2
EPSS (Prob. Exploit)
0.86%
Top 41.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-09-22 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Totp-Rs Project - Totp Rs
< 1.1.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
High (H)
Authentifié avec privilèges administratifs
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-8vxv-2g8p-2249 MODERATE

Observable Timing Discrepancy in totp-rs

AFFECTED PACKAGES:
RUST / totp-rs
< 1.1.0
Fixed in: 1.1.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Observable Timing Discrepancy in totp-rs

AFFECTED PACKAGES:
Unknown / Unknown
4 versions affected
ALIASES:
GHSA-8vxv-2g8p-2249, RUSTSEC-2022-0018

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/05/2022 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:33
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME