CVE-2016-4423
Symphony Denial of Service Via Overlong Usernames
Also known as GHSA-whgv-8cg3-7hcm
Published 10 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
1.86% probability of exploitation in the next 30 days, higher than 79% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | symfony/security-http | >=2.3.0, <2.3.41 >=2.4.0, <2.7.13 >=2.8.0, <2.8.6 >=3.0.0, <3.0.6 | 2.3.41 2.7.13 2.8.6 3.0.6 |
| packagist | symfony/security | >=2.3.0, <2.3.41 >=2.4.0, <2.7.13 >=2.8.0, <2.8.6 >=3.0.0, <3.0.6 | 2.3.41 2.7.13 2.8.6 3.0.6 |
| packagist | symfony/symfony | >=2.3.0, <2.3.41 >=2.4.0, <2.7.13 >=2.8.0, <2.8.6 >=3.0.0, <3.0.6 | 2.3.41 2.7.13 2.8.6 3.0.6 |
Classification
- Weakness
- CWE-399 Resource Management Errors
References
- symfony.com /blog/cve-2016-4423-large-username-storage-in-session · x_refsource_CONFIRM, x_transferred
- github.com /symfony/symfony/pull/18733 · x_refsource_CONFIRM, x_transferred
- debian.org /security/2016/dsa-3588 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-4423 · advisory
- github.com /FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2016-4423.yaml · web
- github.com /FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-4423.yaml · web
- github.com /FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-4423.yaml · web
- github.com /symfony/symfony · package
- symfony.com /cve-2016-4423 · web
Sources
- CVE List: CVE-2016-4423
- GitHub Advisory: GHSA-whgv-8cg3-7hcm
- NVD: CVE-2016-4423
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.