{"id":"CVE-2020-5275","aliases":["CVE-2020-5275","GHSA-g4m9-5hpf-hx72","BIT-SYMFONY-2020-5275"],"related":[],"kind":"vulnerability","state":"published","title":"Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En symfony/security-http versiones anteriores a 4.4.7 y 5.0.7, cuando un \"Firewall\" comprueba la regla de control de acceso, itera sobre los atributos de cada regla y se detiene tan pronto como accessDecisionManager decide otorgar acceso sobre el atributo, impidiendo la comprobación de los siguientes atributos que deberían haberse tenido en cuenta en una estrategia unánime. AccessDecisionManager es ahora llamado con todos los atributos a la vez, permitiendo que la estrategia unánime  sea aplicada en cada atributo. Este problema está parcheado en las versiones 4.4.7 y 5.0.7.","source":"nvd"}],"published":"2020-03-30T19:45:14.000Z","modified":"2026-09-10T03:48:29.099Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":">= 4.4.0, < 4.4.7","status":"affected"},{"version":">= 5.0.0, < 5.0.7","status":"affected"}],"vendor":"symfony","product":"symfony","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","fixed":"4.4.7"}],"ecosystem":"Packagist","package":"symfony/security","purl":"pkg:composer/symfony/security","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.7"}],"ecosystem":"Packagist","package":"symfony/security","purl":"pkg:composer/symfony/security","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","fixed":"4.4.7"}],"ecosystem":"Packagist","package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.7"}],"ecosystem":"Packagist","package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","fixed":"4.4.7"}],"ecosystem":"Packagist","package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.7"}],"ecosystem":"Packagist","package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.4.0","fixed":"4.4.7"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.7"}],"vendor":"sensiolabs","product":"symfony","cpe":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.4.0","status":"affected","fixed":"4.4.7"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.7"}],"ecosystem":"Bitnami","package":"symfony","purl":"pkg:bitnami/symfony","source":"bitnami"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5275","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2020-5275.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2020-5275.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5275.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ","tags":["web"],"sources":["ghsa"]},{"url":"https://symfony.com/cve-2020-5275","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5275","url":"https://www.cve.org/CVERecord?id=CVE-2020-5275","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:09.094Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g4m9-5hpf-hx72","url":"https://github.com/advisories/GHSA-g4m9-5hpf-hx72","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:29.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5275","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5275","licence":"Public domain","modified":"2026-06-17T03:21:10.987Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SYMFONY-2020-5275","url":"https://osv.dev/vulnerability/BIT-SYMFONY-2020-5275","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:57:51.711Z","epss":{"score":0.01148,"percentile":0.66627,"date":"2026-11-30T12:00:22.000Z"}}