llamaCVEVulnerability Intelligence
/
symfony

CVE-2021-41270

CSV Injection in Symfony

Parche disponibleCSV injection
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones4.4.35 · 5.3.12
Exposición1.821 dDesde la divulgación, 24 nov 2021, 2:05 p. m.
Detección1.818 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
24 nov 21
4 ago 24
17 nov 26
20 nov 26
24 nov 21
23 feb 23
23 may 24
21 ago 25
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-41270 divulgada · CVSS 6.5 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

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 `@`.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
symfony · symfony/serializer · symfony/symfony≥ 4.1.0 < 4.4.35
symfony · symfony/serializer · symfony/symfony≥ 5.0.0 < 5.3.12
4.1.0
4.4.35
5.0.0
5.3.12
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
symfony
Corregida 4.4.35, 5.3.12 — —
Versiones corregidas4.4.355.3.12
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QSREFD2TJT5LWKM6S4MD3W26NQQ5WJUP/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BPT4SF6SIXFMZARDWED5T32J7JEH3EP/
Fabricantehttps://github.com/symfony/symfony/security/advisories/GHSA-2xhg-w2g5-w95x
Otrahttps://github.com/symfony/symfony/pull/44243
Otrahttps://github.com/symfony/symfony/releases/tag/v5.3.12
Otrahttps://github.com/symfony/symfony/commit/3da6f2d45e7536ccb2a26f52fbaf340917e208a8

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.