Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-285.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony | 4.4.0 to before 4.4.7; 5.0.0 to before 5.0.7 | 4.4.7, 5.0.7 | Patch available | CNA |
| — | symfony/security (Packagist) | 4.4.0 to before 4.4.7 | 4.4.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
| — | symfony/security (Packagist) | 5.0.0 to before 5.0.7 | 5.0.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
| — | symfony/security-http (Packagist) | 4.4.0 to before 4.4.7 | 4.4.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
| — | symfony/security-http (Packagist) | 5.0.0 to before 5.0.7 | 5.0.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
| — | symfony/symfony (Packagist) | 4.4.0 to before 4.4.7 | 4.4.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
| — | symfony/symfony (Packagist) | 5.0.0 to before 5.0.7 | 5.0.7 | Patch available | GHSA-g4m9-5hpf-hx72 |
- symfony Vendorsymfony Affected 4.4.0 to before 4.4.7; 5.0.0 to before 5.0.7 Fixed in 4.4.7, 5.0.7 Patch available CNA
- symfony/security (Packagist) Vendor— Affected 4.4.0 to before 4.4.7 Fixed in 4.4.7 Patch available GHSA-g4m9-5hpf-hx72
- symfony/security (Packagist) Vendor— Affected 5.0.0 to before 5.0.7 Fixed in 5.0.7 Patch available GHSA-g4m9-5hpf-hx72
- symfony/security-http (Packagist) Vendor— Affected 4.4.0 to before 4.4.7 Fixed in 4.4.7 Patch available GHSA-g4m9-5hpf-hx72
- symfony/security-http (Packagist) Vendor— Affected 5.0.0 to before 5.0.7 Fixed in 5.0.7 Patch available GHSA-g4m9-5hpf-hx72
- symfony/symfony (Packagist) Vendor— Affected 4.4.0 to before 4.4.7 Fixed in 4.4.7 Patch available GHSA-g4m9-5hpf-hx72
- symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.0.7 Fixed in 5.0.7 Patch available GHSA-g4m9-5hpf-hx72
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 4.4.0 to before 4.4.7; 5.0.0 to before 5.0.7 | Vulnerable | sensiolabs |
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 4.4.0 to before 4.4.7; 5.0.0 to before 5.0.7 Vulnerable ·sensiolabs
Remediation
- Fix · CNA symfony (symfony) Fixed in 4.4.7, 5.0.7
- Fix · GHSA-g4m9-5hpf-hx72 symfony/security (Packagist) Fixed in 4.4.7 Advisory →
- Fix · GHSA-g4m9-5hpf-hx72 symfony/security (Packagist) Fixed in 5.0.7 Advisory →
- Fix · GHSA-g4m9-5hpf-hx72 symfony/security-http (Packagist) Fixed in 4.4.7 Advisory →
- Fix · GHSA-g4m9-5hpf-hx72 symfony/security-http (Packagist) Fixed in 5.0.7 Advisory →
- Fix · GHSA-g4m9-5hpf-hx72 symfony/symfony (Packagist) Fixed in 4.4.7 Advisory →
- Fix · GHSA-g4m9-5hpf-hx72 symfony/symfony (Packagist) Fixed in 5.0.7 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
symfony — FEDORA-2020-fade6a8df7
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-04311 Prevent cache poisoning via a Response Content-Type headerPriority LOW 23
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5275
- 2026-10-03 Alias added: GHSA-g4m9-5hpf-hx72
References
Advisory 3
Other 5
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2020-5275.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2020-5275.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5275.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ
- https://symfony.com/cve-2020-5275
More symfony vulnerabilities
- TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
- TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
Sources
- CVE-2020-5275 · CVE Program
- CVE-2020-5275 · NVD
- FIRST EPSS
- GHSA-g4m9-5hpf-hx72 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-5275 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences