Low severity3.1OSV Advisory· Published Nov 6, 2024· Updated Jun 17, 2026
CVE-2024-50343
CVE-2024-50343
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/symfonyPackagist | < 5.4.43 | 5.4.43 |
symfony/symfonyPackagist | >= 6.0.0, < 6.4.11 | 6.4.11 |
symfony/symfonyPackagist | >= 7.0.0, < 7.1.4 | 7.1.4 |
symfony/validatorPackagist | < 5.4.43 | 5.4.43 |
symfony/validatorPackagist | >= 6.0.0, < 6.4.11 | 6.4.11 |
symfony/validatorPackagist | >= 7.0.0, < 7.1.4 | 7.1.4 |
Affected products
3- Range: v2.0.0, v2.0.0-RC1, v2.0.0-RC2, …
- ghsa-coords2 versions
< 5.4.43+ 1 more
- (no CPE)range: < 5.4.43
- (no CPE)range: < 5.4.43
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-g3rh-rrhp-jhh9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-50343ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50343.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2024-50343.yamlghsaWEB
- github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76fnvdWEB
- github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9nvdWEB
- lists.debian.org/debian-lts-announce/2025/05/msg00051.htmlnvdWEB
- symfony.com/cve-2024-50343ghsaWEB
News mentions
0No linked articles in our index yet.