Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g4m9-5hpf-hx72

Опубликовано: 30 мар. 2020
Источник: github
Github: Прошло ревью
CVSS3: 7.6

Описание

Firewall configured with unanimous strategy was not actually unanimous in Symfony

Description

On Symfony before 4.4.0, when a Firewall checks an access control rule (using the unanimous strategy), it iterates over all rule attributes and grant access only if all calls to the accessDecisionManager decide to grant access.

As of Symfony 4.4.0, a bug was introduced that prevents the check of attributes as soon as accessDecisionManager decide to grant access on one attribute.

Resolution

The accessDecisionManager is now called with all attributes at once, allowing the unanimous strategy being applied on each attribute.

The patch for this issue is available here for the 4.4 branch.

Credits

I would like to thank Antonio J. García Lagar for reporting & Robin Chalas for fixing the issue.

Пакеты

Наименование

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

EPSS

Процентиль: 51%
0.00274
Низкий

7.6 High

CVSS3

Дефекты

CWE-285

Связанные уязвимости

CVSS3: 7.6
ubuntu
около 5 лет назад

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.

CVSS3: 7.6
nvd
около 5 лет назад

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.

CVSS3: 7.6
debian
около 5 лет назад

In symfony/security-http before versions 4.4.7 and 5.0.7, when a `Fire ...

EPSS

Процентиль: 51%
0.00274
Низкий

7.6 High

CVSS3

Дефекты

CWE-285