CVE-2024-50343GHSA-G3RH-RRHP-JHH9
Incorrect response from Validator when input ends with `\n` in symfony/validator
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.43, 6.4.11, 7.1.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- symfony symfony
fixed in 5.4.43; From 6.0.0 · fixed in 6.4.11; From 7.0.0 · fixed in 7.1.4
- symfony/symfonyPackagist
fixed in 5.4.43
- symfony/symfonyPackagist
From 6.0.0 · fixed in 6.4.11
- symfony/symfonyPackagist
From 7.0.0 · fixed in 7.1.4
- symfony/validatorPackagist
fixed in 5.4.43
- symfony/validatorPackagist
From 6.0.0 · fixed in 6.4.11
- symfony/validatorPackagist
From 7.0.0 · fixed in 7.1.4