twig/twig
Affected
- introduced
2.0.0, fixed2.14.11(ecosystem)
Fixed versions
2.14.11
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2022-23614
Code injection in Twig
Description
When in a sandbox mode, the arrow parameter of the sort filter must be a closure to avoid attackers being able to run arbitrary PHP functions.
Resolution
We now disallow calling non Closure in the sort filter like we already did for some other filters.
Credits
We would like to thank Marlon Starkloff for reporting the issue and Fabien Potencier for fixing the issue.
High Basis: The source's own band: HIGH
2.0.0, fixed 2.14.11 (ecosystem)2.14.11
The export has no generic command for this ecosystem.
3.0.0, fixed 3.3.8 (ecosystem)3.3.8
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0