totp-rs
Affected
- introduced
0.0.0-0, fixed1.1.0(semver)
Fixed versions
1.1.0
Fix
- Fixed version
1.1.0cargo update -p totp-rs --precise 1.1.0
Advisory
Also known as: CVE-2022-29185, GHSA-8vxv-2g8p-2249
Timing attack
Affecting versions did not compare tokens in constant time, which could make it possible for an attacker to guess the 2fa token of a user.
This has been fixed by using using the crate constant_time_eq for comparison.
Medium Basis: CVSS v3 score 4.2, vector CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
0.0.0-0, fixed 1.1.0 (semver)1.1.0
1.1.0cargo update -p totp-rs --precise 1.1.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0