Incorrect response from Validator when input ends with `\n` in symfony/validator (symfony symfony)
En bref
- Source
- NVD
- EPSS
- EPSS 0.46 % · centile 39 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Deferred
Description
symfony/validator is a module for the Symphony PHP framework which provides tools to validate values. It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`. Symfony as of versions 5.4.43, 6.4.11, and 7.1.4 now uses the `D` regex modifier to match the entire input. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-g3rh-rrhp-jhh9 — Symfony has an incorrect response from Validator when input ends with `\n`
Références européennes
- ENISA EUVD · EUVD-2024-3249
- GCVE · GCVE-0-2024-50343
Avis du CERT-FR
- CERTFR-2024-AVI-0948 — Multiples vulnérabilités dans les produits Symfony · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| symfony · symfony | affected < 5.4.43 ; affected >= 6.0.0, < 6.4.11 ; affected >= 7.0.0, < 7.1.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |