CVE-2024-50343: Symfony has an incorrect response from Validator when input ends with `\n`
It is possible to trick a Validator
configured with a regular expression using the $
metacharacters, with an input ending with \n
.
References
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50343.yaml
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2024-50343.yaml
- github.com/advisories/GHSA-g3rh-rrhp-jhh9
- github.com/symfony/symfony
- github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f
- github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- nvd.nist.gov/vuln/detail/CVE-2024-50343
- symfony.com/cve-2024-50343
Detect and mitigate CVE-2024-50343 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →