CVE-2020-5275: Firewall configured with unanimous strategy was not actually unanimous in Symfony
7.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.50525%
CWE
Published
3/30/2020
Updated
2/5/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
symfony/security | composer | >= 4.4.0, < 4.4.7 | 4.4.7 |
symfony/security | composer | >= 5.0.0, < 5.0.7 | 5.0.7 |
symfony/security-http | composer | >= 4.4.0, < 4.4.7 | 4.4.7 |
symfony/security-http | composer | >= 5.0.0, < 5.0.7 | 5.0.7 |
symfony/symfony | composer | >= 4.4.0, < 4.4.7 | 4.4.7 |
symfony/symfony | composer | >= 5.0.0, < 5.0.7 | 5.0.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from how AccessListener
's handle()
method looped through security attributes and called AccessDecisionManager::decide()
for each attribute individually. This bypassed the unanimous strategy's requirement that all attributes must grant access. The commit diff shows the loop was removed, and decide()
was instead called with all attributes at once. Both methods are directly involved in the flawed logic: handle()
for the incorrect iteration, and decide()
for not processing all attributes collectively in this context.