{"schemaVersion":3,"id":"CVE-2024-50340","aliases":["UBUNTU-CVE-2024-50340","DEBIAN-CVE-2024-50340"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-11-06T21:09:46.750Z","modified":"2024-11-07T15:29:50.292Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.63604,"percentile":0.99212,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-1.197999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.64802},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.64429,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.64429,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.64429,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.64429,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.64429,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.63604,"percentile":0.99212}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.64802,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.63604,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.63604,"percentile":0.99212}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"debian","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/symfony","purlType":"deb","versions":[{"text":"< 5.4.53+dfsg-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.4.41+dfsg-0+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.4.14+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.53+dfsg-0+deb12u1 | < 6.4.41+dfsg-0+deb13u1 | < 6.4.14+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/symfony","purlType":"deb","versions":[{"text":"< 5.4.4+dfsg-1ubuntu8+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.4.5+dfsg-3ubuntu3+esm1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 5.4.4+dfsg-1ubuntu8+esm1 | < 6.4.5+dfsg-3ubuntu3+esm1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"symfony","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.4.46","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.4.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.46 | ≥ 6.0.0, < 6.4.14 | ≥ 7.0.0, < 7.1.7","eol":null,"hubHref":"/vendor/symfony/symfony"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","label":"github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","label":"github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2024-50340","label":"ubuntu.com/security/CVE-2024-50340","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-50340","label":"www.cve.org/CVERecord?id=CVE-2024-50340","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/symfony/symfony/commit/61b32ab2a30000f53a1ca97ad115069543deae34","label":"github.com/symfony/symfony/commit/61b32ab2a30000f53a1ca97ad115069543deae34","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7272-1","label":"ubuntu.com/security/notices/USN-7272-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-50340","label":"security-tracker.debian.org/tracker/CVE-2024-50340","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5809-1","USN-7272-1"],"duplicates":[],"related":["USN-7272-1"]},"timeline":[{"kind":"published","date":"2024-11-06T21:09:46.750Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-07T15:29:50.292Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:17:32.749Z","stale":false,"partial":false}}