CVE-2024-50343: Symfony has an incorrect response from Validator when input ends with `\n`

CVE-2024-50343 · Severity: low · CVSS 3.1 · Published 2024-11-06

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

Technologies: symfony/symfony (Packagist), symfony/validator (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2024-50343 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-50343 being exploited in the wild.
How severe is CVE-2024-50343?
Low severity, with a CVSS score of 3.1, published 6 November 2024.
Which products and versions are affected?
symfony/symfony (Packagist) ECOSYSTEM:introduced=0,fixed=5.4.43; symfony/validator (Packagist) ECOSYSTEM:introduced=0,fixed=5.4.43.
Is there a fix for CVE-2024-50343?
Yes. symfony/symfony (Packagist): upgrade to 5.4.43 or later; symfony/validator (Packagist): upgrade to 5.4.43 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-50343?
Check whether you run symfony/symfony (Packagist) or symfony/validator (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • symfony/symfony (Packagist): upgrade to 5.4.43 or later
    composer require symfony/symfony:^5.4.43
  • symfony/validator (Packagist): upgrade to 5.4.43 or later
    composer require symfony/validator:^5.4.43

Affected products

  • symfony/symfony (Packagist) ECOSYSTEM:introduced=0,fixed=5.4.43
  • symfony/validator (Packagist) ECOSYSTEM:introduced=0,fixed=5.4.43

Identifiers

  • CVE-2024-50343
  • GHSA-g3rh-rrhp-jhh9

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.