feat(deps): update symfony/runtime to 7.4.12 [security]#116
Open
renovate[bot] wants to merge 1 commit into
Open
feat(deps): update symfony/runtime to 7.4.12 [security]#116renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
| datasource | package | from | to | | ---------- | --------------- | ----- | ------ | | packagist | symfony/runtime | 7.3.1 | 7.4.12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.3.*→7.4.*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 the GitHub Advisory Database (CC-BY 4.0).
Release Notes
symfony/runtime (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
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)
Configuration
📅 Schedule: (in timezone Asia/Makassar)
🚦 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.