# GHSA-r6mm-wmhf-849m: Time-Based Information Disclosure Vulnerability in Flow

> Attackers can determine if user accounts exist via timing attacks on password hashing, requiring a patch to ensure constant-time comparison.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 5 Jun 2024

## What is GHSA-r6mm-wmhf-849m?

GHSA-r6mm-wmhf-849m is a vulnerability in typo3/flow, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

## Which versions are affected by GHSA-r6mm-wmhf-849m?

10 open source packages ship an affected version, including typo3/flow.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `typo3/flow` | Packagist | From 2.3.0 | 2.3.16 |
| `typo3/flow` | Packagist | From 2.3.0 | 2.3.16 |
| `typo3/flow` | Packagist | From 3.0.0 | 3.0.10 |
| `typo3/flow` | Packagist | From 3.0.0 | 3.0.10 |
| `typo3/flow` | Packagist | From 3.1.0 | 3.1.7 |
| `typo3/flow` | Packagist | From 3.1.0 | 3.1.7 |
| `typo3/flow` | Packagist | From 3.2.0 | 3.2.7 |
| `typo3/flow` | Packagist | From 3.2.0 | 3.2.7 |
| `typo3/flow` | Packagist | From 3.3.0 | 3.3.5 |
| `typo3/flow` | Packagist | From 3.3.0 | 3.3.5 |

## How do I fix GHSA-r6mm-wmhf-849m?

Upgrade typo3/flow to a fixed version for your release line: 2.3.16, 3.0.10, 3.1.7 or 3.2.7.

## Is GHSA-r6mm-wmhf-849m being exploited?

There is no known exploitation of GHSA-r6mm-wmhf-849m in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-r6mm-wmhf-849m and fix it if it is affected.

What it is: GHSA-r6mm-wmhf-849m is a vulnerability in typo3/flow, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-r6mm-wmhf-849m in the wild and no public exploit code.

Affected packages and fixed versions:
- typo3/flow (Packagist): affected from 2.3.0; fixed in 2.3.16
- typo3/flow (Packagist): affected from 2.3.0; fixed in 2.3.16
- typo3/flow (Packagist): affected from 3.0.0; fixed in 3.0.10
- typo3/flow (Packagist): affected from 3.0.0; fixed in 3.0.10
- typo3/flow (Packagist): affected from 3.1.0; fixed in 3.1.7
- typo3/flow (Packagist): affected from 3.1.0; fixed in 3.1.7
- typo3/flow (Packagist): affected from 3.2.0; fixed in 3.2.7
- typo3/flow (Packagist): affected from 3.2.0; fixed in 3.2.7
- typo3/flow (Packagist): affected from 3.3.0; fixed in 3.3.5
- typo3/flow (Packagist): affected from 3.3.0; fixed in 3.3.5

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-r6mm-wmhf-849m/ (Markdown: https://insights.sbomify.com/GHSA-r6mm-wmhf-849m/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-r6mm-wmhf-849m

---
From sbomify Insights: https://insights.sbomify.com/GHSA-r6mm-wmhf-849m/
Summaries are generated and may contain mistakes; the official description above is the record.
