GHSA-g2qj-pmxm-9f8f
User enumeration in authentication mechanisms
Description
The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user.
Resolution
We now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist.
The patch for this issue is available here for branch 3.4.
Credits
I would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.
What each source reports
GitHub AdvisoriesNo score
User enumeration in authentication mechanisms
Description
The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user.
Resolution
We now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist.
The patch for this issue is available here for branch 3.4.
Credits
I would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.
- Record
GHSA-g2qj-pmxm-9f8f- Weakness
- CWE-200
- Updated
- 2026-11-02
OSVNo score
User enumeration in authentication mechanisms
Description
The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user.
Resolution
We now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist.
The patch for this issue is available here for branch 3.4.
Credits
I would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.
- Record
GHSA-g2qj-pmxm-9f8f- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
symfony/security-httpPackagist | 5.1.0 up to 5.2.8 | 5.2.8 |
symfony/symfonyPackagist | 5.1.0 up to 5.2.8 | 5.2.8 |
symfony/security-httpPackagist | 5.1.0 up to 5.2.8, plus listed versions v5.1.0v5.1.1v5.1.10v5.1.11v5.1.2 Show 20 moreShow lessv5.1.3v5.1.4v5.1.5v5.1.6v5.1.7v5.1.8v5.1.9v5.2.0v5.2.0-BETA1v5.2.0-BETA2v5.2.0-BETA3v5.2.0-RC1v5.2.0-RC2v5.2.1v5.2.2v5.2.3v5.2.4v5.2.5v5.2.6v5.2.7 | 5.2.8 |
symfony/symfonyPackagist | 5.1.0 up to 5.2.8, plus listed versions v5.1.0v5.1.1v5.1.10v5.1.11v5.1.2 Show 20 moreShow lessv5.1.3v5.1.4v5.1.5v5.1.6v5.1.7v5.1.8v5.1.9v5.2.0v5.2.0-BETA1v5.2.0-BETA2v5.2.0-BETA3v5.2.0-RC1v5.2.0-RC2v5.2.1v5.2.2v5.2.3v5.2.4v5.2.5v5.2.6v5.2.7 | 5.2.8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-g2qj-pmxm-9f8f is a vulnerability with no CVSS score yet in symfony/symfony, published May 17, 2021. No source lists public exploit code. Fixed in symfony/security-http 5.2.8.