Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb7
- https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
FAQ
What is CVE-2024-50343?
CVE-2024-50343 is a vulnerability with a CVSS score of 3.1 (LOW). 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 `$` metachara...
How severe is CVE-2024-50343?
CVE-2024-50343 has been rated LOW with a CVSS base score of 3.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50343?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.