{"id":"GHSA-g4m9-5hpf-hx72","aliases":["BIT-symfony-2020-5275","CVE-2020-5275"],"title":"Firewall configured with unanimous strategy was not actually unanimous in Symfony","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"Description\n-----------\n\nOn Symfony before 4.4.0, when a `Firewall` checks an access control rule (using the unanimous strategy), it iterates over all rule attributes and grant access only if *all* calls to the `accessDecisionManager` decide to grant access.\n\nAs of Symfony 4.4.0, a bug was introduced that prevents the check of attributes as soon as `accessDecisionManager` decide to grant access on one attribute.\n\nResolution\n----------\n\nThe `accessDecisionManager` is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute. \n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf) for the 4.4 branch.\n\nCredits\n-------\n\nI would like to thank Antonio J. García Lagar for reporting & Robin Chalas for fixing the issue.","severity":"high","score":7.6,"published":"2020-03-30T20:09:44.000Z","modified":"2026-09-10T03:48:29.099Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"symfony/security","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"4.4.0"},{"fixed":"4.4.7"}],"type":"ECOSYSTEM"}],"versions":["v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.4.6"],"fixed":["4.4.7"]},{"ecosystem":"Packagist","name":"symfony/security","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.7"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["5.0.7"]},{"ecosystem":"Packagist","name":"symfony/security-http","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"4.4.0"},{"fixed":"4.4.7"}],"type":"ECOSYSTEM"}],"versions":["v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.4.6"],"fixed":["4.4.7"]},{"ecosystem":"Packagist","name":"symfony/security-http","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.7"}],"type":"ECOSYSTEM"}],"versions":["v5.0.0","v5.0.1","v5.0.2","v5.0.3","v5.0.4","v5.0.5","v5.0.6"],"fixed":["5.0.7"]},{"ecosystem":"Packagist","name":"symfony/symfony","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"4.4.0"},{"fixed":"4.4.7"}],"type":"ECOSYSTEM"}],"versions":["v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.4.6"],"fixed":["4.4.7"]},{"ecosystem":"Packagist","name":"symfony/symfony","sources":[{"name":"OSV · GHSA-g4m9-5hpf-hx72","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.7"}],"type":"ECOSYSTEM"}],"versions":["v5.0.0","v5.0.1","v5.0.2","v5.0.3","v5.0.4","v5.0.5","v5.0.6"],"fixed":["5.0.7"]}],"sourceAffected":[],"references":["https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72","https://nvd.nist.gov/vuln/detail/CVE-2020-5275","https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf","https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2020-5275.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2020-5275.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5275.yaml","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ","https://symfony.com/cve-2020-5275"],"sources":[{"name":"OSV","id":"GHSA-g4m9-5hpf-hx72","modified":"2026-09-10T03:48:29.099946704Z","url":"https://osv.dev/vulnerability/GHSA-g4m9-5hpf-hx72"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T19:20:37.165Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}