{"answers":{"affected":"8 open source packages ship an affected version, including facade/ignition. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-3129 in the wild since at least 18 Sep 2023, including in ransomware campaigns.","fix":"Upgrade facade/ignition to a fixed version for your release line: 1.6.15, 1.16.14, 2.4.2 or 2.5.2. US federal agencies must fix it by 9 Oct 2023.","what":"CVE-2021-3129 is a critical code injection vulnerability in n/a, published on 12 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3129 and fix it if it is affected.\n\nWhat it is: CVE-2021-3129 is a critical code injection vulnerability in n/a, published on 12 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-3129 in the wild since at least 18 Sep 2023, including in ransomware campaigns.\n\nAffected packages and fixed versions:\n- facade/ignition (Packagist): affected all versions; fixed in 1.6.15\n- facade/ignition (Packagist): affected all versions; fixed in 1.6.15\n- facade/ignition (Packagist): affected from 1.7.0; fixed in 1.16.14\n- facade/ignition (Packagist): affected from 1.7.0; fixed in 1.16.14\n- facade/ignition (Packagist): affected from 2.0.0; fixed in 2.4.2\n- facade/ignition (Packagist): affected from 2.0.0; fixed in 2.4.2\n- facade/ignition (Packagist): affected from 2.5.0; fixed in 2.5.2\n- facade/ignition (Packagist): affected from 2.5.0; fixed in 2.5.2\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-2021-3129/ (Markdown: https://insights.sbomify.com/CVE-2021-3129/index.md)","id":"CVE-2021-3129","markdown":"https://insights.sbomify.com/CVE-2021-3129/index.md","name":"CVE-2021-3129","record":{"aliases":["GHSA-4qwp-7c67-jmcc"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"PHP logging library","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code in Ignition when Laravel debug mode is enabled, requiring an upgrade to secure the application.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ignition","vendor":"facade"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Ignition before 2.5.2, as used in Laravel and other products, allows unauthenticated remote attackers to execute arbitrary code because of insecure usage of file_get_contents() and file_put_contents(). This is exploitable on sites using debug mode with Laravel before 8.4.2.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2021-01-13","github_poc":33,"max_poc_stars":289,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-01-13T12:52:20Z","kind":"github_poc","ref":"https://github.com/ambionics/laravel-exploits","stars":289,"title":"Exploit for CVE-2021-3129"},{"date":"2021-02-18T05:42:13Z","kind":"github_poc","ref":"https://github.com/zhzyker/CVE-2021-3129","stars":166,"title":"Laravel \u003c= v8.4.2 debug mode: Remote code execution (CVE-2021-3129)"},{"date":"2022-04-16T17:22:55Z","kind":"github_poc","ref":"https://github.com/joshuavanderpoll/CVE-2021-3129","stars":157,"title":"Laravel RCE Exploit PoC - CVE-2021-3129 (user-friendly with automatic log path detection)"},{"date":"2021-01-22T05:12:21Z","kind":"github_poc","ref":"https://github.com/SNCKER/CVE-2021-3129","stars":134,"title":"Laravel debug rce"},{"date":"2021-01-25T08:42:28Z","kind":"github_poc","ref":"https://github.com/SecPros-Team/laravel-CVE-2021-3129-EXP","stars":79,"title":null},{"date":"2021-01-27T10:16:35Z","kind":"github_poc","ref":"https://github.com/nth347/CVE-2021-3129_exploit","stars":69,"title":"Exploit for CVE-2021-3129"},{"date":"2021-01-27T05:44:52Z","kind":"github_poc","ref":"https://github.com/crisprss/Laravel_CVE-2021-3129_EXP","stars":18,"title":null},{"date":"2023-03-04T17:04:38Z","kind":"github_poc","ref":"https://github.com/ajisai-babu/CVE-2021-3129-exp","stars":13,"title":"Laravel Debug mode RCE漏洞（CVE-2021-3129）poc / exp"}],"tier":"exploited"},"has_fix":true,"headline":"Laravel Ignition File Upload","id":"CVE-2021-3129","indexable":true,"kev":{"dateAdded":"2023-09-18","dueDate":"2023-10-09","knownRansomwareCampaignUse":"Known","product":"Ignition","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Laravel","vulnerabilityName":"Laravel Ignition File Upload Vulnerability"},"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":8,"n_references":4,"next":{"headline":"Information disclosure in n/a","id":"CVE-2021-3130"},"packages":[{"ecosystem":"Packagist","fixed":["1.6.15"],"introduced":["0"],"last_affected":[],"package":"facade/ignition","purl":null,"source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["1.6.15"],"introduced":["0"],"last_affected":[],"package":"facade/ignition","purl":"pkg:composer/facade/ignition","source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["1.16.14"],"introduced":["1.7.0"],"last_affected":[],"package":"facade/ignition","purl":null,"source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["1.16.14"],"introduced":["1.7.0"],"last_affected":[],"package":"facade/ignition","purl":"pkg:composer/facade/ignition","source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["2.4.2"],"introduced":["2.0.0"],"last_affected":[],"package":"facade/ignition","purl":null,"source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["2.4.2"],"introduced":["2.0.0"],"last_affected":[],"package":"facade/ignition","purl":"pkg:composer/facade/ignition","source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["2.5.2"],"introduced":["2.5.0"],"last_affected":[],"package":"facade/ignition","purl":null,"source":"GHSA-4qwp-7c67-jmcc"},{"ecosystem":"Packagist","fixed":["2.5.2"],"introduced":["2.5.0"],"last_affected":[],"package":"facade/ignition","purl":"pkg:composer/facade/ignition","source":"GHSA-4qwp-7c67-jmcc"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2021-3128"},"products":["n/a"],"published":"2021-01-12","related":[{"cvss_score":9.8,"headline":"Incorrect Access Control in Ignition","id":"CVE-2021-43996","kev_date_added":null,"published":"2021-11-17"},{"cvss_score":9.8,"headline":"Critical severity vulnerability in Ignition","id":"CVE-2020-13909","kev_date_added":null,"published":"2020-06-07"}],"sources":[{"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary code in Ignition when Laravel debug mode is enabled, requiring an upgrade to secure the application.","url":"https://insights.sbomify.com/CVE-2021-3129/"}