CVE-2024-50343CWE-20

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

Low · published November 6, 2024

CVSS v3.1
3.1
EPSS
0%
Percentile
38.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00455 · 38.5th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-11-06T21:00Z
EPSS history
Timeline
  • 06 NOV 21:00Z
    Incorrect response from Validator when input ends with `\n` in symfony/validator
    cvelistv5