Vulnerability in Twigphp Twig
CVE-2022-23614
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 n…
EPSS: 0.211 (95.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Twigphp Twig — versions >= 3.0.0, < 3.3.8, >= 2.0.0, < 2.14.11
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v (x_refsource_CONFIRM)
- github.com/twigphp/Twig/commit/22b9dc3c03ee66d7e21d9ed2ca76052b134cb9e9 (x_refsource_MISC)
- github.com/twigphp/Twig/commit/2eb33080558611201b55079d07ac88f207b466d5 (x_refsource_MISC)
- FEDORA-2022-167b9becef (vendor-advisory, x_refsource_FEDORA)
- FEDORA-2022-47293b1d23 (vendor-advisory, x_refsource_FEDORA)
- FEDORA-2022-7d871d7583 (vendor-advisory, x_refsource_FEDORA)
- FEDORA-2022-58abb323f0 (vendor-advisory, x_refsource_FEDORA)
- DSA-5107 (vendor-advisory, x_refsource_DEBIAN)
Frequently asked questions
- What is CVE-2022-23614?
- CVE-2022-23614 is a high-severity vulnerability in Twigphp Twig, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 8.8/10. Published 2022-02-04.
- How severe is CVE-2022-23614?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-23614 known to be exploited?
- 17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.