CVE-2024-50343
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-50343
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 5.4.23+dfsg-1+deb12u3 |
| debian | bullseye | fixed | 4.4.19+dfsg-2+deb11u7 |
| debian | forky | fixed | 6.4.11+dfsg-1 |
| debian | sid | fixed | 6.4.11+dfsg-1 |
| debian | trixie | fixed | 6.4.11+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | symfony/symfony | <5.4.43 | 5.4.43 |
| Packagist | symfony/symfony | >=6.0.0,<6.4.11 | 6.4.11 |
| Packagist | symfony/symfony | >=7.0.0,<7.1.4 | 7.1.4 |
| Packagist | symfony/validator | <5.4.43 | 5.4.43 |
| Packagist | symfony/validator | >=6.0.0,<6.4.11 | 6.4.11 |
| Packagist | symfony/validator | >=7.0.0,<7.1.4 | 7.1.4 |
References
- https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9
- https://nvd.nist.gov/vuln/detail/CVE-2024-50343
- https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50343.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2024-50343.yaml
- https://github.com/symfony/symfony
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
- https://symfony.com/cve-2024-50343
- https://security-tracker.debian.org/tracker/CVE-2024-50343
Verify integrity in audit chain (admin only). AS-IS.