Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| symfony / symfony | affected < 5.4.43; affected >= 6.0.0, < 6.4.11; affected >= 7.0.0, < 7.1.4 |
CWE
CWE-20
References
- https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.