CVE-2020-5275
HIGH 8.1CVSS 3.1Firewall configured with unanimous strategy was not actually unanimous in Symfony
In symfony/security-http before versions 4.4.7 and 5.0.7, when a Firewall checks access control rule, it iterate overs each rule's attributes and stops as soon as the accessDecisionManager decides to grant access on the attribute, preventing the check of next attributes that should have been take into account in an unanimous strategy. The accessDecisionManager is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute. This issue is patched in versions 4.4.7 and 5.0.7.
- Published
- 30 Mar 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-863
- Also known as
- BIT-symfony-2020-5275GHSA-g4m9-5hpf-hx72
- Sources
- NVDJSONOSV GHSA-g4m9-5hpf-hx72JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.7 | 4.4.7 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.7 | 5.0.7 |
| OSV | Packagist | symfony/security | >= 4.4.0, < 4.4.7 | 4.4.7 |
| OSV | Packagist | symfony/security | >= 5.0.0, < 5.0.7 | 5.0.7 |
| OSV | Packagist | symfony/security-http | >= 4.4.0, < 4.4.7 | 4.4.7 |
| OSV | Packagist | symfony/security-http | >= 5.0.0, < 5.0.7 | 5.0.7 |
| OSV | Packagist | symfony/symfony | >= 4.4.0, < 4.4.7 | 4.4.7 |
| OSV | Packagist | symfony/symfony | >= 5.0.0, < 5.0.7 | 5.0.7 |
References
- https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf · Patch, Third Party Advisory, WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72 · Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
- https://nvd.nist.gov/vuln/detail/CVE-2020-5275 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2020-5275.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2020-5275.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5275.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ · WEB
- https://symfony.com/cve-2020-5275 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Mar 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Mar 2020)