{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50340","id":"CVE-2024-50340","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 `SymfonyRuntim","descriptionLong":"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.","published":"2024-11-06T21:09:46.750Z","updated":"2026-10-28T02:30:48.813435555Z","reserved":"2024-10-22T17:54:40.955Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["symfony"],"affectedProducts":[{"vendor":"symfony","product":"symfony","defaultStatus":null,"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"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"symfony/runtime","purl":"pkg:composer/symfony/runtime","ranges":[">=5.3.0 <5.4.46",">=6.0.0 <6.4.14",">=7.0.0 <7.1.7"],"fixed":["5.4.46","6.4.14","7.1.7"],"advisory":"GHSA-x8vp-gf4q-mw5j"},{"ecosystem":"Packagist","name":"symfony/symfony","purl":"pkg:composer/symfony/symfony","ranges":[">=5.3.0 <5.4.46",">=6.0.0 <6.4.14",">=7.0.0 <7.1.7"],"fixed":["5.4.46","6.4.14","7.1.7"],"advisory":"GHSA-x8vp-gf4q-mw5j"}],"cwes":["CWE-74","CWE-20"],"aliases":["GHSA-x8vp-gf4q-mw5j"],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50340.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50340","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/runtime/CVE-2024-50340.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50340.yaml","tags":["web"]},{"url":"https://github.com/symfony/symfony","tags":["package"]},{"url":"https://symfony.com/cve-2024-50340","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.61834,"epssPercentile":0.99191,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50340","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50340","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50340","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x8vp-gf4q-mw5j","ok":true,"note":"GHSA-x8vp-gf4q-mw5j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50340","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 62% with CVSS 7.3"],"attention":null}