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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50343.json",
"cwe_ids": [
"CWE-20"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.4.43"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.4.11"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.1.4"
}
],
"source": "AFFECTED_FIELD"
}