// For flags

CVE-2024-50343

Incorrect response from Validator when input ends with `\n` in symfony/validator

Severity Score

3.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Authentication
Single
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
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
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