CVE-2022-23614
Summary
| CVE | CVE-2022-23614 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-04 23:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 34 Update: php-twig3-3.3.8-1.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| bug #3641 Disallow non closures in `sort` filter when the sanbox mode… · twigphp/Twig@22b9dc3 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 34 Update: php-twig3-3.3.8-1.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: php-twig2-2.14.11-1.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Disallow non closures in `sort` filter when the sanbox mode is enabled · twigphp/Twig@2eb3308 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 35 Update: php-twig2-2.14.11-1.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Debian -- Security Information -- DSA-5107-1 php-twig |
DEBIAN |
www.debian.org |
|
| [SECURITY] Fedora 35 Update: php-twig3-3.3.8-1.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: php-twig2-2.14.11-1.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: php-twig2-2.14.11-1.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Disallow non closures in `sort` filter when the sandbox mode is enabled · Advisory · twigphp/Twig · GitHub |
CONFIRM |
github.com |
|
| [SECURITY] Fedora 35 Update: php-twig3-3.3.8-1.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 179157 Debian Security Update for php-twig (DSA 5107-1)
- 182133 Debian Security Update for php-twig (CVE-2022-23614)
- 199472 Ubuntu Security Notification for Twig Vulnerabilities (USN-5947-1)
- 282377 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-167b9becef)
- 282378 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-7d871d7583)
- 282379 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-58abb323f0)
- 282380 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-47293b1d23)