{"id":"CVE-2021-32693","aliases":["CVE-2021-32693","GHSA-rfcf-m67m-jcrq","BIT-SYMFONY-2021-32693"],"related":[],"kind":"vulnerability","state":"published","title":"Authentication granted with multiple firewalls","summary":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. A vulnerability related to firewall authentication is in Symfony starting with version 5.3.0 and prior to 5.3.2. When an application defines multiple firewalls, the token authenticated by one of the firewalls was available for all other firewalls. This could be abused when the application defines different providers for each part of the application, in such a situation, a user authenticated on a part of the application could be considered authenticated on the rest of the application. Starting in version 5.3.2, a patch ensures that the authenticated token is only available for the firewall that generates it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. A vulnerability related to firewall authentication is in Symfony starting with version 5.3.0 and prior to 5.3.2. When an application defines multiple firewalls, the token authenticated by one of the firewalls was available for all other firewalls. This could be abused when the application defines different providers for each part of the application, in such a situation, a user authenticated on a part of the application could be considered authenticated on the rest of the application. Starting in version 5.3.2, a patch ensures that the authenticated token is only available for the firewall that generates it.","source":"cvelist"},{"lang":"en","text":"Description\n-----------\n\nWhen an application defines multiple firewalls, the authenticated token delivered by one of the firewalls is available to all other firewalls. This can be abused when the application defines different providers for different parts of an application. In such a situation, a user authenticated on one part of the application is considered authenticated on the whole application.\n\nResolution\n----------\n\nWe now ensure that the authenticated token is only available for the firewall that generates it.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728) for branch 5.3.\n\nCredits\n-------\n\nI would like to thank Bogdan, gndk, Paweł Warchoł, Warxcell, and Adrien Lamotte for reporting the issue and Wouter J for fixing the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Symfony es un framework PHP para aplicaciones web y de consola y un ajuste de componentes PHP reutilizables. Una vulnerabilidad relacionada con la autenticación del firewall se presenta en Symfony a partir de versión 5.3.0 y anteriores a 5.3.2. Cuando una aplicación define múltiples firewalls, el token autenticado por uno de los firewalls estaba disponible para todos los otros firewalls. Esto podría ser abusado cuando la aplicación define diferentes proveedores para cada parte de la aplicación, en tal situación, un usuario autenticado en una parte de la aplicación podría ser considerado autenticado en el resto de la aplicación. A partir de versión 5.3.2, un parche asegura que el token autenticado sólo está disponible para el firewall que lo genera","source":"nvd"}],"published":"2021-06-17T22:40:11.000Z","modified":"2026-07-08T06:27:45.620Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"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:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 5.3.0, < 5.3.2","status":"affected"}],"vendor":"symfony","product":"symfony","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.2"}],"ecosystem":"Packagist","package":"symfony/security-http","purl":"pkg:composer/symfony/security-http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.2"}],"ecosystem":"Packagist","package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.3.0","fixed":"5.3.2"}],"vendor":"sensiolabs","product":"symfony","cpe":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.3.0","status":"affected","fixed":"5.3.2"}],"ecosystem":"Bitnami","package":"symfony","purl":"pkg:bitnami/symfony","source":"bitnami"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-rfcf-m67m-jcrq","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/symfony/security-http/commit/6bf4c31219773a558b019ee12e54572174ff8129","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://symfony.com/blog/cve-2021-32693-authentication-granted-to-all-firewalls-instead-of-just-one","tags":["patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32693","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2021-32693.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-32693.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/symfony/security-http","tags":["package"],"sources":["ghsa"]},{"url":"https://symfony.com/cve-2021-32693","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32693","url":"https://www.cve.org/CVERecord?id=CVE-2021-32693","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:31.124Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rfcf-m67m-jcrq","url":"https://github.com/advisories/GHSA-rfcf-m67m-jcrq","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:45.620Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32693","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32693","licence":"Public domain","modified":"2026-06-17T03:53:26.407Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SYMFONY-2021-32693","url":"https://osv.dev/vulnerability/BIT-SYMFONY-2021-32693","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:01.992Z","epss":{"score":0.01388,"percentile":0.73065,"date":"2026-12-01T12:00:22.000Z"}}