{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-05-11T21:36:57.226","vulnerabilities":[{"cve":{"id":"CVE-2022-29185","sourceIdentifier":"security-advisories@github.com","published":"2022-05-20T20:15:10.140","lastModified":"2024-11-21T06:58:39.880","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"totp-rs es una biblioteca de Rust que permite la creación de tokens de autentificación 2FA por contraseña de un solo uso basada en el tiempo (TOTP). En versiones anteriores a 1.1.0, la comparación de tokens no era de tiempo constante, y teóricamente podía ser usada para adivinar el valor de un token TOTP, y así reusarlo en la misma ventana de tiempo. No obstante, el atacante tendría que conocer la contraseña de antemano. A partir de la versión parcheada 1.1.0, la biblioteca usa la comparación en tiempo constante. Actualmente no se presentan mitigaciones conocidas"}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","baseScore":4.2,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":0.5,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":0.7,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:N/A:N","baseScore":3.5,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-203"},{"lang":"en","value":"CWE-208"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-203"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:totp-rs_project:totp-rs:*:*:*:*:*:rust:*:*","versionEndExcluding":"1.1.0","matchCriteriaId":"507EDB62-149A-477E-AD08-EE0D31F3FA79"}]}]}],"references":[{"url":"https://github.com/constantoine/totp-rs/issues/13","source":"security-advisories@github.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/constantoine/totp-rs/releases/tag/v1.1.0","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249","source":"security-advisories@github.com","tags":["Third Party Advisory"]},{"url":"https://github.com/constantoine/totp-rs/issues/13","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/constantoine/totp-rs/releases/tag/v1.1.0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}}]}