What’s Vulnerable › Vulnerabilities
CVE-2020-5275: Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-03-30 · updated 2026-06-17
- Weakness: CWE-285
Description
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.
Affected products
- symfony: from 4.4.0 before 4.4.7; from 5.0.0 before 5.0.7 — fixed in 4.4.7, 5.0.7
How to fix
Upgrade to a fixed version: symfony 4.4.7, 5.0.7. Check the vendor advisory for mitigations.
References
- https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf
- https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
- https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf
- https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
Get alerted when CVE-2020-5275 or the next vulnerability affects your stack