CVE-2024-50343
LOW3.1EPSS 0.25%symfony - security update
Published: 11/6/2024Modified: 5/27/2026
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.
Affected packages (4)
- Debian/symfonyfrom 0, < 4.4.19+dfsg-2+deb11u7
- Debian/symfonyfrom 0, < 4.4.19+dfsg-2+deb11u7
- Packagist/symfony/symfonyfrom 0, < 5.4.43
- Packagist/symfony/validatorfrom 0, < 5.4.43
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-50343
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-50343
- PATCHhttps://github.com/symfony/symfony
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50343.yaml
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2024-50343.yaml
- WEBhttps://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f
- WEBhttps://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- WEBhttps://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
- WEBhttps://symfony.com/cve-2024-50343