Symfony Denial of Service Via Long Password Hashing
The Security component in Symfony 2.0.x before 2.0.25, 2.1.x before 2.1.13, 2.2.x before 2.2.9, and 2.3.x before 2.3.6 allows remote attackers to cause a denial of service (CPU consumption) via a long password that triggers an expensive hash computation, as demonstrated by a PBKDF2 computation, a similar issue to CVE-2013-5750.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | symfony/polyfill | >= 1.0.0, < 1.10.0 | 1.10.0 |
| Composer package | symfony/security | >= 2.0.0, < 2.0.25, >= 2.1.0, < 2.1.13, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.6 | 2.0.25, 2.1.13, 2.2.9, 2.3.6 |
| Composer package | symfony/symfony | >= 2.0.0, < 2.0.25, >= 2.1.0, < 2.1.13, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.6 | 2.0.25, 2.1.13, 2.2.9, 2.3.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-5958
- https://github.com/symfony/symfony/issues/11522
- https://github.com/symfony/polyfill/pull/155
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/polyfill/CVE-2013-5958.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2013-5958.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-5958.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/security-releases-cve-2013-5958-symfony-2-0-25-2-1-13-2-2-9-and-2-3-6-released
- http://symfony.com/blog/security-releases-cve-2013-5958-symfony-2-0-25-2-1-13-2-2-9-and-2-3-6-released
- Weakness (CWE)
CWE-789- Platform
- Composer
- Package
symfony/polyfill, symfony/security, symfony/symfony- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cr49-fx2v-9p57 - CC BY 4.0
Vulnerability history: symfony/security
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 17
- First → latest
- 02.2020 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 7
- Medium 6
- Low 1
Disclosures per year
- 2020: 2
- 2021: 1
- 2022: 14
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Symfony Denial of Service Via Long Password Hashing this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.