MediumGHSA-rfcf-m67m-jcrqBIT-symfony-2021-32693CVE-2021-32693

Authentication granted to all firewalls instead of just one

Published 21 Jun 2021 · Updated 8 Jul 2026

Affected packages

Affected
>=5.3.0 <5.3.2
Fixed in
5.3.2
Update to the fixed version for your release line, for example:composer require symfony/security-http:^5.3.2
Affected
>=5.3.0 <5.3.2
Fixed in
5.3.2
Update to the fixed version for your release line, for example:composer require symfony/symfony:^5.3.2

Details

Description -----------

When 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.

Resolution ----------

We now ensure that the authenticated token is only available for the firewall that generates it.

The patch for this issue is available here for branch 5.3.

Credits -------

I would like to thank Bogdan, gndk, Paweł Warchoł, Warxcell, and Adrien Lamotte for reporting the issue and Wouter J for fixing the issue.

Is GHSA-rfcf-m67m-jcrq in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symfony/security-http, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.