CVE-2024-50343
symfony/validator is a module for the Symphony PHP framework which pro ...
Overview
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.
Source: OX vulnerability database
Severity
3.1 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-20
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/symfony | <5.4.43>=6.0.0, <6.4.11>=7.0.0, <7.1.4>=7.0.0, <7.1.0>=7.1.0, <7.1.4+13 more | 5.4.436.4.117.1.4 |
| Composer (PHP) | symfony/validator | <5.4.43>=6.0.0, <6.4.11>=7.0.0, <7.1.4>=3.0.0, <4.0.0>=5.0.0, <5.1.0+13 more | 5.4.436.4.117.1.4 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | 4.4.19+dfsg-2+deb11u7 |
| 12 | symfony | 5.4.23+dfsg-1+deb12u3 |
| 13 | symfony | 6.4.11+dfsg-1 |
| 14 | symfony | 6.4.11+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 5.4.23+dfsg-1+deb12u3 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | symfony | affected |
| 20.04-ESM | symfony | 4.3.8+dfsg-1ubuntu1+esm2 |
| 22.04 | symfony | affected |
| 24.04 | symfony | affected |
References
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50343.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2024-50343.yaml
- github.com https://github.com/symfony/symfony
- github.com https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-50343
- symfony.com https://symfony.com/cve-2024-50343
- ubuntu.com https://ubuntu.com/security/notices/USN-7272-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-50343
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.