CVEvulnerability
CVE-2021-45040
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-03-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-434
Description
The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.
Affected configurations
• spatie laravel media library (<= 1.17.10)
• spatie laravel media library (>= 2.0.0 <= 2.1.6)
Related
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://cybersecthreat.com/2022/03/14/cve-2021-45040/ Exploit, Mitigation, Third Party Advisory
- https://spatie.be/docs/laravel-medialibrary/v9/handling-uploads-with-media-library-pro/processing-uploads-on-the-server Vendor Advisory
- https://cybersecthreat.com/2022/03/14/cve-2021-45040/ Exploit, Mitigation, Third Party Advisory
- https://spatie.be/docs/laravel-medialibrary/v9/handling-uploads-with-media-library-pro/processing-uploads-on-the-server Vendor Advisory