CVE-2022-23614: Code injection in Twig
twigphp · Twig
Vendor fix available · Affected: twigphp · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 94% of scored CVEs
DescriptionCVE.org
Twig is an open source template language for PHP. 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. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- twigphp · Twig>= 3.0.0, < 3.3.8; >= 2.0.0, < 2.14.11
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- twigphp
- Published
- February 2022
CoverageNo articles yet
No CyberSIXT article names CVE-2022-23614 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-74cwe.mitre.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorydebian.org
- github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2vgithub.com
- github.com/twigphp/Twig/commit/22b9dc3c03ee66d7e21d9ed2ca76052b1github.com
- github.com/twigphp/Twig/commit/2eb33080558611201b55079d07ac88f20github.com