Time-Based Information Disclosure Vulnerability in Flow
Impact
The PersistedUsernamePasswordProvider was prone to a information disclosure of account existance based on timing attacks as the hashing of passwords was only done in case an account was found. We changed the core so that the provider always does a password comparison in case credentials were submitted at all.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.3.0 before 2.3.16Ecosystem versions | 2.3.16 |
| From 3.0.0 before 3.0.10Ecosystem versions | 3.0.10 |
| From 3.1.0 before 3.1.7Ecosystem versions | 3.1.7 |
| From 3.2.0 before 3.2.7Ecosystem versions | 3.2.7 |
| From 3.3.0 before 3.3.5Ecosystem versions | 3.3.5 |
Version evidence: OSV · GHSA-r6mm-wmhf-849m
View original version evidence (45 explicit versions)
Original source description
The PersistedUsernamePasswordProvider was prone to a information disclosure of account existance based on timing attacks as the hashing of passwords was only done in case an account was found. We changed the core so that the provider always does a password comparison in case credentials were submitted at all.