1. Accueil
  2. Vulnérabilités
  3. CVE-2022-23614

CVE-2022-23614

Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort`…

Publiée le 4 févr. 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Élevé 66/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.0 — NVD
Fedoraproject (2 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 34 — NVD
Fedora 35 — NVD
Symfony (2 ligne(s))
Symfony
ProduitVersionsCorrigé dansSource
Twig de 2.0.0 (inclus) à 2.14.11 (exclu) — NVD
Twig de 3.0.0 (inclus) à 3.3.8 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-94 · Injection de commandes / code

Comment sont obtenues et calculées ces données