HIGH7.5
GHSA-whgv-8cg3-7hcm
Symphony Denial of Service Via Overlong Usernames
Quick fix
GHSA-whgv-8cg3-7hcm — symfony/security-http: upgrade to the fixed version with the command below.
composer require symfony/security-http:^2.3.41Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/symfony/security-http
Introduced in:
2.3.0Fixed in: 2.3.41Fix
composer require symfony/security-http:^2.3.41Packagist/symfony/security-http
Introduced in:
2.4.0Fixed in: 2.7.13Fix
composer require symfony/security-http:^2.7.13Packagist/symfony/security-http
Introduced in:
2.8.0Fixed in: 2.8.6Fix
composer require symfony/security-http:^2.8.6Packagist/symfony/security-http
Introduced in:
3.0.0Fixed in: 3.0.6Fix
composer require symfony/security-http:^3.0.6Packagist/symfony/security
Introduced in:
2.3.0Fixed in: 2.3.41Fix
composer require symfony/security:^2.3.41Packagist/symfony/security
Introduced in:
2.4.0Fixed in: 2.7.13Fix
composer require symfony/security:^2.7.13Packagist/symfony/security
Introduced in:
2.8.0Fixed in: 2.8.6Fix
composer require symfony/security:^2.8.6Packagist/symfony/security
Introduced in:
3.0.0Fixed in: 3.0.6Fix
composer require symfony/security:^3.0.6Packagist/symfony/symfony
Introduced in:
2.3.0Fixed in: 2.3.41Fix
composer require symfony/symfony:^2.3.41Packagist/symfony/symfony
Introduced in:
2.4.0Fixed in: 2.7.13Fix
composer require symfony/symfony:^2.7.13Packagist/symfony/symfony
Introduced in:
2.8.0Fixed in: 2.8.6Fix
composer require symfony/symfony:^2.8.6Packagist/symfony/symfony
Introduced in:
3.0.0Fixed in: 3.0.6Fix
composer require symfony/symfony:^3.0.6References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4423[ADVISORY]
- https://github.com/symfony/symfony/pull/18733[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2016-4423.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-4423.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-4423.yaml[WEB]
- https://github.com/symfony/symfony[PACKAGE]
- https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session[WEB]
- https://symfony.com/cve-2016-4423[WEB]
- http://www.debian.org/security/2016/dsa-3588[WEB]