Security mailing lists by PureSourceCode

CVE-2024-50343

LOW 3.1CVSS 3.1

Symfony has an incorrect response from Validator when input ends with `\n`

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.

Published
6 Nov 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-20
Also known as
GHSA-g3rh-rrhp-jhh9
Sources
NVDJSONOSV GHSA-g3rh-rrhp-jhh9JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist symfony/symfony < 5.4.43 5.4.43
OSV Packagist symfony/symfony >= 6.0.0, < 6.4.11 6.4.11
OSV Packagist symfony/symfony >= 7.0.0, < 7.1.4 7.1.4
OSV Packagist symfony/validator < 5.4.43 5.4.43
OSV Packagist symfony/validator >= 6.0.0, < 6.4.11 6.4.11
OSV Packagist symfony/validator >= 7.0.0, < 7.1.4 7.1.4

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Nov 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.