{"answers":{"affected":"13 open source packages ship an affected version, including laravel/framework and laravel. It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-52301 in the wild and no public exploit code.","fix":"Upgrade laravel/framework to a fixed version for your release line: 6.20.45, 10.48.23, 11.31.0 or 7.30.7.","what":"CVE-2024-52301 is a high-severity vulnerability in Debian Debian Linux, published on 12 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52301 and fix it if it is affected.\n\nWhat it is: CVE-2024-52301 is a high-severity vulnerability in Debian Debian Linux, published on 12 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-52301 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- laravel/framework (Packagist): affected all versions; fixed in 6.20.45\n- laravel/framework (Packagist): affected all versions; fixed in 6.20.45\n- laravel/framework (Packagist): affected from 10.0.0; fixed in 10.48.23\n- laravel/framework (Packagist): affected from 10.0.0; fixed in 10.48.23\n- laravel/framework (Packagist): affected from 11.0.0; fixed in 11.31.0\n- laravel/framework (Packagist): affected from 11.0.0; fixed in 11.31.0\n- laravel/framework (Packagist): affected from 7.0.0; fixed in 7.30.7\n- laravel/framework (Packagist): affected from 7.0.0; fixed in 7.30.7\n- laravel/framework (Packagist): affected from 8.0.0; fixed in 8.83.28\n- laravel/framework (Packagist): affected from 8.0.0; fixed in 8.83.28\n- laravel/framework (Packagist): affected from 9.0.0; fixed in 9.52.17\n- laravel/framework (Packagist): affected from 9.0.0; fixed in 9.52.17\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52301/ (Markdown: https://insights.sbomify.com/CVE-2024-52301/index.md)","id":"CVE-2024-52301","markdown":"https://insights.sbomify.com/CVE-2024-52301/index.md","name":"CVE-2024-52301","record":{"aliases":["BIT-laravel-2024-52301","DEBIAN-CVE-2024-52301","DLA-3997-1","GHSA-gv7v-rgg6-548h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Laravel web framework","requires_auth":"none","summary":"Attackers can manipulate the application environment via query strings when register_argc_argv is enabled, bypassing intended configuration settings.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"framework","vendor":"laravel"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"Laravel is a web application framework. When the register_argc_argv php directive is set to on , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request. The vulnerability fixed in 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, and 11.31.0. The framework now ignores argv values for environment detection on non-cli SAPIs.","ecosystems":["Bitnami","Packagist"],"exploits":{"exploitdb":0,"first_seen":"2024-11-14","github_poc":3,"max_poc_stars":21,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-11-14T18:41:31Z","kind":"github_poc","ref":"https://github.com/Nyamort/CVE-2024-52301","stars":21,"title":null},{"date":"2024-11-15T19:11:35Z","kind":"github_poc","ref":"https://github.com/martinhaunschmid/CVE-2024-52301-Research","stars":6,"title":"A bit of research around CVE-2024-52301"},{"date":"2025-07-18T14:04:24Z","kind":"github_poc","ref":"https://github.com/fckoo/nanwinata-CVE-2024-52301","stars":0,"title":"Arbitrary Argument Injection Scanner CVE-2024-52301"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Laravel allows environment manipulation via query string","id":"CVE-2024-52301","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"security_feature_bypass","year":"2024"},"n_packages":13,"n_references":1,"next":{"headline":"common-user-management Unrestricted File Upload Leading to Remote Code Execution (RCE)","id":"CVE-2024-52302"},"packages":[{"ecosystem":"Bitnami","fixed":["6.20.45","7.30.7","8.83.28","9.52.17","10.48.23","11.31.0"],"introduced":["0","7.0.0","8.0.0","9.0.0","10.0.0","11.0.0"],"last_affected":[],"package":"laravel","purl":"pkg:bitnami/laravel","source":"BIT-laravel-2024-52301"},{"ecosystem":"Packagist","fixed":["6.20.45"],"introduced":["0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["6.20.45"],"introduced":["0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["10.48.23"],"introduced":["10.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["10.48.23"],"introduced":["10.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["11.31.0"],"introduced":["11.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["11.31.0"],"introduced":["11.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["7.30.7"],"introduced":["7.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["7.30.7"],"introduced":["7.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["8.83.28"],"introduced":["8.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["8.83.28"],"introduced":["8.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["9.52.17"],"introduced":["9.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-gv7v-rgg6-548h"},{"ecosystem":"Packagist","fixed":["9.52.17"],"introduced":["9.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-gv7v-rgg6-548h"}],"prev":{"headline":"macro-pdfviewer has a XSS through the width parameter","id":"CVE-2024-52300"},"products":["framework"],"published":"2024-11-12","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-21","vendors":["laravel"]},"summary":"Attackers can manipulate the application environment via query strings when register_argc_argv is enabled, bypassing intended configuration settings.","url":"https://insights.sbomify.com/CVE-2024-52301/"}