Vulnerability · Published Mar 30, 2020 · Assigned by GitHub_M
CVE-2020-5275Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http
High 7.6
In plain English
A high-severity security flaw in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5275 |
| Debian:13 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5275 |
| Debian:14 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5275 |
| Packagist | symfony/security | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security | 5.0.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security-http | 5.0.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security-http | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/symfony | 5.0.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/symfony | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-g4m9-5hpf-hx72 x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/c935e4a3fba6cc2ab463a6ca382858068d63cebf x_refsource_CONFIRM
- FEDORA-2020-fade6a8df7 vendor-advisory, x_refsource_FEDORA