CVE-2024-50340

Ability to change environment from query in symfony/runtime

HIGH
7.3
CVSS Score
Published: November 6, 2024 at 09:09 PM UTC
Updated: June 17, 2026 at 08:04 AM UTC
2 products affected across 2 vendorsSymfonySymfony

Using symfony by symfony?

Get instant alerts when new vulnerabilities affect symfony - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 64%
SSVC
No known exploit

Description

symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state. When the `register_argv_argc` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. As of versions 5.4.46, 6.4.14, and 7.1.7 the `SymfonyRuntime` now ignores the `argv` values for non-SAPI PHP runtimes. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.466.0.0 ≤ v < 6.4.147.0.0 ≤ v < 7.1.76.0.07.0.0
Affected range stops below 5.4.46, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.7, so it looks safe — our inference, not a vendor statement
v < 5.4.46v < 6.4.14v < 7.1.7
Affected range stops below 5.4.46, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.7, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.3HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card