{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43617 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-43617 is a critical vulnerability in n/a, published on 14 Nov 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-43617 and fix it if it is affected.\n\nWhat it is: CVE-2021-43617 is a critical vulnerability in n/a, published on 14 Nov 2021. 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-2021-43617 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-43617/ (Markdown: https://insights.sbomify.com/CVE-2021-43617/index.md)","id":"CVE-2021-43617","markdown":"https://insights.sbomify.com/CVE-2021-43617/index.md","name":"CVE-2021-43617","record":{"aliases":["CLSA-2026-1777596013","DEBIAN-CVE-2021-43617"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel PHP framework","requires_auth":"none","summary":"Attackers can upload executable PHP files due to missing .phar validation, leading to remote code execution on Debian-based systems.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"framework","vendor":"laravel"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. NOTE: this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-11-15","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-06-08T08:05:36Z","kind":"github_poc","ref":"https://github.com/Sybelle03/CVE-2021-43617","stars":1,"title":"This is a reproduction of PHP Laravel 8.70.1 - Cross Site Scripting (XSS) to Cross Site Request Forgery (CSRF) vulnerability"},{"date":"2021-11-15","kind":"exploitdb","ref":"50525","stars":null,"title":"PHP Laravel 8.70.1 - Cross Site Scripting (XSS) to Cross Site Request Forgery (CSRF)"},{"date":"2021-11-19T05:39:25Z","kind":"github_poc","ref":"https://github.com/kombat1/CVE-2021-43617","stars":0,"title":"CVE-2021-43617 bypass CRF"},{"date":"2022-08-03T10:18:44Z","kind":"github_poc","ref":"https://github.com/aweiiy/CVE-2021-43617","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"File upload in n/a","id":"CVE-2021-43617","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Integer overflow in n/a","id":"CVE-2021-43618"},"packages":[],"prev":{"headline":"Supply chain in n/a","id":"CVE-2021-43616"},"products":["n/a"],"published":"2021-11-14","related":[{"cvss_score":8.8,"headline":"OS Command Injection in Laravel Framework","id":"CVE-2020-19316","kev_date_added":null,"published":"2021-12-20"},{"cvss_score":8.8,"headline":"SQL injection in n/a","id":"CVE-2018-6330","kev_date_added":null,"published":"2019-03-28"},{"cvss_score":8,"headline":"Laravel Reflected XSS via Request Parameter in Debug-Mode Error Page","id":"CVE-2024-13918","kev_date_added":null,"published":"2025-03-10"},{"cvss_score":8,"headline":"Laravel Reflected XSS via Route Parameter in Debug-Mode Error Page","id":"CVE-2024-13919","kev_date_added":null,"published":"2025-03-10"},{"cvss_score":6.9,"headline":"Laravel has a File Validation Bypass","id":"CVE-2025-27515","kev_date_added":null,"published":"2025-03-05"},{"cvss_score":5.3,"headline":"Information disclosure in n/a","id":"CVE-2022-40482","kev_date_added":null,"published":"2023-04-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can upload executable PHP files due to missing .phar validation, leading to remote code execution on Debian-based systems.","url":"https://insights.sbomify.com/CVE-2021-43617/"}