// 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.

*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
* 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
  • 2024-11-07 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