Skip to content
OpenAdvisories
High · 7.6 CVE-2020-5275 BIT-symfony-2020-5275EUVD-2020-0343GHSA-g4m9-5hpf-hx72

Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http

Published Mar 30, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 symfony 4.4.8-1 —
Debian 13 symfony 4.4.8-1 —
Debian 12 symfony 4.4.8-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References