CVE-2024-50340 – symfony/runtime
Package
Manager: composer
Name: symfony/runtime
Vulnerable Version: >=5.3.0 <5.4.46 || >=6.0.0 <6.4.14 || >=7.0.0 <7.1.7
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS: 0.85487 pctl0.99327
Details
Symfony allows changing the environment through a query ### Description When the `register_argc_argv` 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. ### Resolution The `SymfonyRuntime` now ignores the `argv` values for non-cli SAPIs PHP runtimes The patch for this issue is available [here](https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa) for branch 5.4. ### Credits We would like to thank Vladimir Dusheyko for reporting the issue and Wouter de Jong for providing the fix.
Metadata
Created: 2024-11-06T15:11:07Z
Modified: 2024-11-06T23:39:51Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-x8vp-gf4q-mw5j/GHSA-x8vp-gf4q-mw5j.json
CWE IDs: ["CWE-20", "CWE-74"]
Alternative ID: GHSA-x8vp-gf4q-mw5j
Finding: F184
Auto approve: 1