| Package | Affected versions | Patched versions |
|---|---|---|
| symfony/symfony | ≥ 6.0.0, < 6.4.11≥ 7.0.0, < 7.1.4< 5.4.43 | 6.4.117.1.45.4.43 |
| symfony/validator | ≥ 6.0.0, < 6.4.11≥ 7.0.0, < 7.1.4< 5.4.43 | 6.4.117.1.45.4.43 |
It is possible to trick a Validator configured with a regular expression using the $ metacharacters, with an input ending with \n.
Symfony now uses the D regex modifier to match the entire input.
The patch for this issue is available here for branch 5.4.
We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free