1. Accueil
  2. Vulnérabilités
  3. CVE-2021-41270

CVE-2021-41270

Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web…

Publiée le 24 nov. 2021 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 34/100

Résumé

Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWASP suggests using the single quote `'` for prefixing the value. Starting with versions 4.4.34 and 5.3.12, Symfony now follows the OWASP recommendations and uses the single quote `'` to prefix formulas and add the prefix to cells starting by `\t`, `\r` as well as `=`, `+`, `-` and `@`.

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

Produits et versions affectés

Fedoraproject (2 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 34 — NVD
Fedora 35 — NVD
Sensiolabs (2 ligne(s))
Sensiolabs
ProduitVersionsCorrigé dansSource
Symfony de 4.1.0 (inclus) à 4.4.35 (exclu) — NVD
Symfony de 5.0.0 (inclus) à 5.3.12 (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)
CNA (éditeur ou attributeur)
Vecteur CVSS
AV:N/AC:L/Au:S/C:P/I:N/A:N (CVSS 2.0, NVD)
Faiblesse
CWE-1236 · Autre (CWE-1236)

Comment sont obtenues et calculées ces données