Описание
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
| Релиз | Статус | Примечание |
|---|---|---|
| devel | pending | 3.27.1-1 |
| esm-apps/focal | not-affected | code not present |
| esm-apps/jammy | not-affected | code not present |
| esm-apps/noble | not-affected | code not present |
| esm-apps/resolute | released | 3.23.0-2ubuntu0.1~esm1 |
| jammy | not-affected | code not present |
| noble | not-affected | code not present |
| questing | ignored | end of life, was needed |
| resolute | needed | |
| upstream | released | 3.26.0-1 |
Показывать по
Ссылки на источники
EPSS
8.8 High
CVSS3
Связанные уязвимости
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass ...
Twig: Possible sandbox bypass when using a source policy
EPSS
8.8 High
CVSS3