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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| symfony | symfony | >= 4.4.0, < 4.4.7, >= 5.0.0, < 5.0.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | 4.4.8-1 | — |
| Debian 13 | symfony | 4.4.8-1 | — |
| Debian 12 | symfony | 4.4.8-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | symfony/security | >= 4.4.0, < 4.4.7 | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security | >= 5.0.0, < 5.0.7 | 5.0.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security-http | >= 4.4.0, < 4.4.7 | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/security-http | >= 5.0.0, < 5.0.7 | 5.0.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/symfony | >= 4.4.0, < 4.4.7 | 4.4.7 | GHSA-g4m9-5hpf-hx72 |
| Packagist | symfony/symfony | >= 5.0.0, < 5.0.7 | 5.0.7 | GHSA-g4m9-5hpf-hx72 |