CVE-2020-5275
Firewall configured with unanimous strategy was not actually unanimous in Symfony
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.
How to fix CVE-2020-5275
To remediate CVE-2020-5275, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.7 or later
- —upgrade to 4.4.8-1 or later
- —upgrade to 4.4.7 or later
- —upgrade to 4.4.7 or later
- —upgrade to 4.4.7 or later
Is CVE-2020-5275 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 4.4.0, < 4.4.7, >= 5.0.0, < 5.0.7
- from 0, < 4.4.8-1
- >= 4.4.0, < 4.4.7
- >= 4.4.0, < 4.4.7
- >= 4.4.0, < 4.4.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |