CVE-2024-50343
Incorrect response from Validator when input ends with `\n` in symfony/validator
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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 `
`. 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.
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. 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 attack. Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-10-22 CVE Reserved
- 2024-11-06 CVE Published
- 2024-11-07 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f | X_refsource_misc | |
https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | < 5.4.43 Search vendor "Symfony" for product "Symfony" and version " < 5.4.43" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 6.0.0 < 6.4.11 Search vendor "Symfony" for product "Symfony" and version " >= 6.0.0 < 6.4.11" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 7.0.0 < 7.1.4 Search vendor "Symfony" for product "Symfony" and version " >= 7.0.0 < 7.1.4" | en |
Affected
|