Repository navigation
Update dependency symfony/runtime to 7.4.* [SECURITY] (2.x) - #706
renovate[bot] wants to merge 1 commit into
Conversation
Code ReviewRisk: Low — The dependency constraint update is isolated and introduces no demonstrable defect in the reviewed diff. Updates Review usage: 6,350 in (4,428 cached) / 282 out tokens — $0.0009 (openrouter/openai/gpt-5.6-luna, thinking: low) Reviewed by @weareikko/code-review v0.11.0 for commit eeba73c. Previous review runsPrevious run archived 2026-10-28T14:43:15ZCode ReviewRisk: Low — The dependency constraint update is narrowly scoped and introduces no demonstrable defect in the reviewed diff. Updates Review usage: 6,350 in (4,428 cached) / 215 out tokens — $0.0008 (openrouter/openai/gpt-5.6-luna, thinking: low) Reviewed by @weareikko/code-review v0.10.3 for commit 795c65e. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #706 +/- ##
=========================================
Coverage 86.32% 86.32%
Complexity 145 145
=========================================
Files 20 20
Lines 746 746
Branches 88 88
=========================================
Hits 644 644
Misses 95 95
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
795c65e to
eeba73c
Compare
This PR contains the following updates:
7.3.*→7.4.*Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
CVE-2026-47767 / GHSA-fqc7-9xjw-jrh3
More information
Details
Description
CVE-2024-50340 (GHSA-x8vp-gf4q-mw5j) addressed an issue where, with
register_argc_argv=On, a crafted query string let an unauthenticated GET change the kernel environment and debug flag by feeding--env/--no-debugthrough$_SERVER['argv']. The fix shipped insymfony/runtime5.4.46 / 6.4.14 / 7.1.7 gated the argv read onempty($_GET)as a proxy for "is this a CLI invocation".That proxy is unsafe:
parse_str()(which builds$_GET) and the web SAPI (which builds$_SERVER['argv']from the raw query whenregister_argc_argv=On) do not agree on every input, so an attacker can craft a query that leaves$_GETempty while$_SERVER['argv']carries the attacker's flags.SymfonyRuntime::getInput()then parses them, restoring the exact primitive CVE-2024-50340 was meant to prevent.Preconditions and impact match the original CVE: web SAPI,
register_argc_argv=On, app booted throughsymfony/runtime; from an unauthenticated GET an attacker can flipAPP_ENVand toggleAPP_DEBUG.Resolution
SymfonyRuntimenow gates the argv read onisset($_SERVER['QUERY_STRING'])rather than onempty($_GET).QUERY_STRINGis the same input the SAPI uses to build argv, so the security check and the thing it protects no longer parse different sources. Worker SAPIs (FrankenPHP / RoadRunner / Swoole) keep working because the runtime constructor runs once at boot whenQUERY_STRINGis unset.The patch for this issue is available here for branch 5.4.
Credits
SymfonyRuntime would like to thank 0xEr3n for reporting the issue and Nicolas Grekas for providing the fix.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
symfony/runtime
v7.4.12Compare Source
Changelog (symfony/runtime@v7.4.1...v7.4.12)
v7.4.8Compare Source
Changelog (symfony/runtime@v7.4.7...v7.4.8)
v7.4.1Compare Source
Changelog (symfony/runtime@v7.4.0...v7.4.1)
v7.4.0Compare Source
Changelog (symfony/runtime@v7.4.0-RC3...v7.4.0)
v7.3.8Compare Source
Changelog (symfony/runtime@v7.3.7...v7.3.8)
v7.3.4Compare Source
Changelog (symfony/runtime@v7.3.3...v7.3.4)
v7.3.1Compare Source
Changelog (symfony/runtime@v7.3.0...v7.3.1)
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.