CVE-2024-50343
published 2024-11-06CVE-2024-50343: 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…
PriorityP412low3.1CVSS 3.1
AVNACHPRLUINSUCLINAN
EPSS
0.46%
37.4th percentile
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
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | < symfony 5.4.23+dfsg-1+deb12u3 (bookworm) | symfony 5.4.23+dfsg-1+deb12u3 (bookworm) |
| symfony | symfony | < 5.4.43 | 5.4.43 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 4.4.19+dfsg-2+deb11u7 | 4.4.19+dfsg-2+deb11u7 |
| symfony | symfony | >= 0 < 5.4.23+dfsg-1+deb12u3 | 5.4.23+dfsg-1+deb12u3 |
| symfony | symfony | >= 0 < 6.4.11+dfsg-1 | 6.4.11+dfsg-1 |
| symfony | symfony | >= 0 < 6.4.11+dfsg-1 | 6.4.11+dfsg-1 |
| symfony | symfony | >= 0 < 5.4.43 | 5.4.43 |
| symfony | symfony | >= 0 < 4.3.8+dfsg-1ubuntu1+esm2 | 4.3.8+dfsg-1ubuntu1+esm2 |
| symfony | symfony | >= 0 < 5.4.4+dfsg-1ubuntu8+esm1 | 5.4.4+dfsg-1ubuntu8+esm1 |
| symfony | symfony | >= 0 < 6.4.5+dfsg-3ubuntu3+esm1 | 6.4.5+dfsg-3ubuntu3+esm1 |
| symfony | symfony | >= 6.0.0 < 6.4.11 | 6.4.11 |
| symfony | symfony | >= 7.0.0 < 7.1.4 | 7.1.4 |
| symfony | validator | >= 0 < 5.4.43 | 5.4.43 |
| symfony | validator | >= 6.0.0 < 6.4.11 | 6.4.11 |
| symfony | validator | >= 7.0.0 < 7.1.4 | 7.1.4 |
CVSS provenance
nvdv3.13.1LOWCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
osv8.8HIGH
vendor_ubuntu5.9MEDIUM
vendor_debian3.1LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
symfony vulnerabilities
osv·2025-02-18·CVSS 8.8
CVE-2022-24894 [HIGH] symfony vulnerabilities
symfony vulnerabilities
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query strings. An attacker could possibly
use this issue to expose sens
GHSA
Symfony has an incorrect response from Validator when input ends with `\n`
ghsa·2024-11-06
CVE-2024-50343 [LOW] CWE-20 Symfony has an incorrect response from Validator when input ends with `\n`
Symfony has an incorrect response from Validator when input ends with `\n`
### Description
It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`.
### Resolution
Symfony now uses the `D` regex modifier to match the entire input.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f) for branch 5.4.
### Credits
We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
OSV
Symfony has an incorrect response from Validator when input ends with `\n`
osv·2024-11-06
CVE-2024-50343 [LOW] Symfony has an incorrect response from Validator when input ends with `\n`
Symfony has an incorrect response from Validator when input ends with `\n`
### Description
It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`.
### Resolution
Symfony now uses the `D` regex modifier to match the entire input.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f) for branch 5.4.
### Credits
We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
OSV
CVE-2024-50343: symfony/validator is a module for the Symphony PHP framework which provides tools to validate values
osv·2024-11-06·CVSS 3.1
CVE-2024-50343 [LOW] CVE-2024-50343: symfony/validator is a module for the Symphony PHP framework which provides tools to validate values
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.
Ubuntu
Symfony vulnerabilities
vendor_ubuntu·2025-02-18·CVSS 5.9
CVE-2022-24895 [MEDIUM] Symfony vulnerabilities
Title: Symfony vulnerabilities
Summary: Several security issues were fixed in Symfony.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query s
Debian
CVE-2024-50343: symfony - symfony/validator is a module for the Symphony PHP framework which provides tool...
vendor_debian·2024·CVSS 3.1
CVE-2024-50343 [LOW] CVE-2024-50343: symfony - symfony/validator is a module for the Symphony PHP framework which provides tool...
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.
Scope: local
bookworm: resolved (fixed in 5.4.23+dfsg-1+deb12u3)
bullseye: resolved (fixed in 4.4.19+dfsg-2+deb11u7)
forky: resolved (fixed in 6.4.11+dfsg-1)
sid: resolved (fixed in 6.4.11+dfsg-1)
trixie: resolved (fixed in 6.4.11+dfsg-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-11-06
Published