Incorrect response from Validator when input ends with `\n` in symfony/validator
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony | symfony | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Symfony | Symfony | — |
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4200-1 | symfony security update |
Debian DSA |
DSA-5809-1 | symfony security update |
EUVD |
EUVD-2024-3249 | 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. |
Github GHSA |
GHSA-g3rh-rrhp-jhh9 | Symfony has an incorrect response from Validator when input ends with `\n` |
Ubuntu USN |
USN-7272-1 | Symfony vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.455% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Incorrect response from Validator when input ends with `\n` in symfony/validator | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
cvssV3_1
|