{"id":"CVE-2024-50340","state":"PUBLISHED","title":"Ability to change environment from query in symfony/runtime","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.","publishedAt":"2024-11-06T21:09:46.750Z","updatedAt":"2024-11-07T15:29:50.292Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["symfony symfony"],"affected":[{"vendor":"symfony","product":"symfony","versions":[{"version":"< 5.4.46","status":"affected"},{"version":">= 6.0.0, < 6.4.14","status":"affected"},{"version":">= 7.0.0, < 7.1.7","status":"affected"}]}],"references":["https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50340.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-50340","state":"PUBLISHED","datePublished":"2024-11-06T21:09:46.750Z","dateUpdated":"2024-11-07T15:29:50.292Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-22T17:54:40.955Z"},"containers":{"cna":{"title":"Ability to change environment from query in symfony/runtime","descriptions":[{"lang":"en","value":"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":[{"vendor":"symfony","product":"symfony","versions":[{"version":"< 5.4.46","status":"affected"},{"version":">= 6.0.0, < 6.4.14","status":"affected"},{"version":">= 7.0.0, < 7.1.7","status":"affected"}]}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","name":"https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","name":"https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","lang":"en","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-06T21:09:46.750Z"},"source":{"advisory":"GHSA-x8vp-gf4q-mw5j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"sensiolabs","product":"symfony","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"5.4.46","versionType":"custom"},{"version":"6.0.0","status":"affected","lessThan":"6.4.14","versionType":"custom"},{"version":"7.0.0","status":"affected","lessThan":"7.1.7","versionType":"custom"}],"cpes":["cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-07T15:27:34.309967Z","id":"CVE-2024-50340","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-07T15:29:50.292Z"}}]}}}