CVE-2021-43617
CRITICAL 9.8CVSS 3.1Withdrawn: Laravel Framework does not sufficiently block the upload of executable PHP content.
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.
- Published
- 14 Nov 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-434
- Also known as
- GHSA-364w-9g92-3grq
- Sources
- NVDJSONOSV GHSA-364w-9g92-3grqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
<= 8.70.2 | |
| OSV | Packagist | laravel/framework | <= 8.70.2 |
References
- https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1331-L1333 · Third Party Advisory, WEB
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6 · Patch, Third Party Advisory, WEB
- https://salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43617 · ADVISORY
- https://github.com/laravel/framework · PACKAGE
- https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1130-L1132 · WEB
- https://hosein-vita.medium.com/laravel-8-x-image-upload-bypass-zero-day-852bd806019b · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 14 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2021)