CVE-2021-45040
CRITICALCVSS 9.8/10EPSS 3.11%
Last modified
CVE-2021-45040 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 3.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Spatie | Laravel Media Library | <= 1.17.10 |
| Spatie | Laravel Media Library | >= 2.0.0, <= 2.1.6 |
References
- https://cybersecthreat.com/2022/03/14/cve-2021-45040/Exploit, Mitigation, Third Party Advisory
- https://cybersecthreat.com/2022/03/14/cve-2021-45040/Exploit, Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-45040?
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.
How severe is CVE-2021-45040?
CVE-2021-45040 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.11% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45040?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45033A vulnerability has been identified in CP-8000 MASTER MODULE…8.8
- CVE-2021-45034A vulnerability has been identified in CP-8000 MASTER MODULE…7.5
- CVE-2021-45035Velneo vClient on its 28.1.3 version, does not correctly che…5.9
- CVE-2021-45036Velneo vClient on its 28.1.3 version, could allow an attacke…7.4
- CVE-2021-45038An issue was discovered in MediaWiki before 1.35.5, 1.36.x b…5.3
- CVE-2021-45039Multiple models of the Uniview IP Camera (e.g., IPC_G6103 B6…9.8
- CVE-2021-45041SuiteCRM before 7.12.2 and 8.x before 8.0.1 allows authentic…8.8
- CVE-2021-45042In HashiCorp Vault and Vault Enterprise before 1.7.7, 1.8.x …4.9
- CVE-2021-45043HD-Network Real-time Monitoring System 2.0 allows ../ direct…7.5
- CVE-2021-45046It was found that the fix to address CVE-2021-44228 in Apach…9
- CVE-2021-45051Adobe Bridge version 11.1.2 (and earlier) and version 12.0 (…5.5
- CVE-2021-45052Adobe Bridge version 11.1.2 (and earlier) and version 12.0 (…5.5
Are you affected by CVE-2021-45040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
