Wiz Agents & Workflows are here

CVE-2024-50340
PHP vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2024-50340) affects the symfony/runtime module of the Symfony PHP framework. When the register_argv_argc PHP directive is set to on, attackers can manipulate environment or debug mode settings through specially crafted query strings in URLs. The vulnerability was discovered by Vladimir Dusheyko and was patched in versions 5.4.46, 6.4.14, and 7.1.7 (GitHub Advisory).

Technical details

The vulnerability exists in the symfony/runtime module when the PHP directive register_argv_argc is enabled. The issue allows attackers to manipulate the environment or debug mode used by the kernel during request handling through specially crafted query strings. The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, indicating network accessibility with low attack complexity and no required privileges or user interaction (GitHub Advisory).

Impact

The vulnerability can lead to unauthorized access to sensitive information and potential denial of service. Attackers can manipulate the application's environment settings and debug mode, potentially exposing sensitive system information or affecting the application's behavior (Ubuntu Notice).

Mitigation and workarounds

The vulnerability has been patched in Symfony versions 5.4.46, 6.4.14, and 7.1.7. The fix involves the SymfonyRuntime now ignoring the argv values for non-CLI SAPIs PHP runtimes. All users are advised to upgrade to these patched versions. There are no known workarounds for this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wprj-9cvc-5w37HIGH7.5
  • PHPPHP
  • wwbn/avideo
NoNoMar 29, 2026
CVE-2026-34036MEDIUM6.5
  • PHPPHP
  • dolibarr/dolibarr
NoNoMar 31, 2026
CVE-2026-33887MEDIUM5.4
  • PHPPHP
  • statamic/cms
NoYesMar 27, 2026
CVE-2026-27599MEDIUM4.7
  • PHPPHP
  • ci4-cms-erp/ci4ms
NoYesMar 30, 2026
CVE-2026-34372MEDIUMN/A
  • PHPPHP
  • sulu/sulu
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management