CVE-2021-43617
Laravel Framework through 8.70.2 does not sufficiently block the uploa ...
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD.
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| composer::PHP Security Advisories Database | laravel/framework | sin corrección indicada |
| debian 11 | php-laravel-framework | 6.20.14+dfsg-2+deb11u1 |
| debian 12 | php-laravel-framework | 6.20.14+dfsg-3 |
| debian 13 | php-laravel-framework | 6.20.14+dfsg-3 |
| debian 14 | php-laravel-framework | 6.20.14+dfsg-3 |
| echo | php-laravel-framework | 6.20.14+dfsg-3 |
Referencias
- https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1331-L1333
- https://github.com/laravel/framework/pull/39666
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6
- https://salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8