cve.bz

CVE-2024-50343 symfony symfony: Improper Input Validation

3.1 lowEPSS 0.5%Fix available

Low (3.1) in symfony symfony. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in symfony/symfony 5.4.43, 6.4.11, 7.1.4.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • symfony/symfony (Packagist): fixed in 5.4.43, 6.4.11, 7.1.4
  • symfony/validator (Packagist): fixed in 5.4.43, 6.4.11, 7.1.4
  • Debian, Ubuntu: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-50343 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-50343?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-50343?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-50343 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
symfony< 5.4.43
symfony>= 6.0.0, < 6.4.11
symfony>= 7.0.0, < 7.1.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g3rh-rrhp-jhh9Packagistsymfony/symfony<5.4.435.4.43
GHSA-g3rh-rrhp-jhh9Packagistsymfony/symfony>=6.0.0 <6.4.116.4.11
GHSA-g3rh-rrhp-jhh9Packagistsymfony/symfony>=7.0.0 <7.1.47.1.4
GHSA-g3rh-rrhp-jhh9Packagistsymfony/validator<5.4.435.4.43
GHSA-g3rh-rrhp-jhh9Packagistsymfony/validator>=6.0.0 <6.4.116.4.11
GHSA-g3rh-rrhp-jhh9Packagistsymfony/validator>=7.0.0 <7.1.47.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11symfony4.4.19+dfsg-2+deb11u7DLA-4200-1
Debian12symfony5.4.23+dfsg-1+deb12u3DEBIAN-CVE-2024-50343 DSA-5809-1
Debian13, 14symfony6.4.11+dfsg-1DEBIAN-CVE-2024-50343
Ubuntu16.04:LTS, 25.10, 26.04:LTS and 1 moresymfonyno fix listedUBUNTU-CVE-2024-50343
UbuntuPro:20.04:LTSsymfony4.3.8+dfsg-1ubuntu1+esm2UBUNTU-CVE-2024-50343 USN-7272-1
UbuntuPro:22.04:LTSsymfony5.4.4+dfsg-1ubuntu8+esm1UBUNTU-CVE-2024-50343 USN-7272-1
UbuntuPro:24.04:LTSsymfony6.4.5+dfsg-3ubuntu3+esm1UBUNTU-CVE-2024-50343 USN-7272-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON