Symphony Denial of Service Via Overlong Usernames
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/security Packagist |
|
|
| symfony/symfony Packagist |
|
|
The attemptAuthentication function in Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php in Symfony before 2.3.41, 2.7.x before 2.7.13, 2.8.x before 2.8.6, and 3.0.x before 3.0.6 does not limit the length of a username stored in a session, which allows remote attackers to cause a denial of service (session storage consumption) via a series of authentication attempts with long, non-existent usernames.
From the CVE record · mitre
Symfony's username/password authentication listener does not limit the length of usernames stored in a session. A remote attacker can consume session storage by making repeated authentication attempts with long, non-existent usernames; successful authentication is not required.
Check installations using Packagist symfony/security-http, symfony/security, or symfony/symfony in affected 2.3, 2.4–2.7, 2.8, or 3.0 ranges before their respective fixed releases.